HEX Color Conversion

Hex Color Code #FED400 — RGB & HSL Conversions

How to use the #FED400 color code in HTML & CSS?

For developers, implementing the #FED400 color code involves declaring it in your styles. In stylesheet designs, use color: #FED400; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#FED400] or custom configure it in your theme files.

What are the RGB and HSL conversion values for #FED400?

The RGB code for #FED400 is computed as rgb(254, 212, 0). Web designers using HSL values will find it at a hue of 50°, saturation of 100%, and lightness index of 50%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #FED400

For print design setups, the CMYK values for the #FED400 color code are Cyan: 0%, Magenta: 17%, Yellow: 100%, and Black: 0%. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 254
Green Channel 212
Blue Channel 0
Luminance 0.682

HEX #FED400 Color Space Conversions

Click to copy format
HEX Color Code #FED400
RGB (Red Green Blue) rgb(254, 212, 0)
HSL (Hue Sat Light) hsl(50°, 100%, 50%)
CMYK (Commercial Print) cmyk(0%, 17%, 100%, 0%)
HSV / HSB Values hsv(50°, 100%, 100%)
Decimal Color Code 16700416
CSS Custom Variable --color-hex: #FED400;
Tailwind CSS Utility bg-[#FED400]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #FED400

Small body copy preview

Black Text on Background

Black text readability test with #FED400

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #FED400 */
--color-hex: #FED400;
--color-rgb: rgb(254, 212, 0);
--color-hsl: hsl(50deg, 100%, 50%);

Adjacent HEX Color Codes

Copied!