#FEC04E#FEC04E

#FEC04E is a very light, vivid orange. Relative luminance 0.593; OKLCH L 84.4% C 0.146 H 79.5°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#FEC04E
RGBrgb(254, 192, 78)
HSLhsl(39, 99%, 65%)
HSVhsv(39, 69%, 100%)
CMYKcmyk(0%, 24.4%, 69.3%, 0.4%)
CIE-LABlab(81.47, 11.40, 63.76)
CIE-LCHlch(81.47, 64.77, 79.86°)
OKLaboklab(84.45% 0.0266 0.1431)
OKLCHoklch(84.45% 0.146 79.5)
XYZxyz(61.1017, 59.3247, 15.4389)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEC04E #4E8CFE
analogous
#FE684E #FEC04E #E4FE4E
triadic
#FEC04E #4EFEC0 #C04EFE
tetradic
#FEC04E #4EFE68 #4E8CFE #FE4EE4
square
#FEC04E #4EFE68 #4E8CFE #FE4EE4
split-complementary
#FEC04E #4EE4FE #684EFE
monochromatic
#D08701 #FEAA11 #FEC04E #FED68B #FFEBC8

Accessibility & contrast

On white

1.63
#FEC04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#FEC04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEC04E
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEC04E#FFFFFF#000000##000000
##FEC04E1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C140
Deuteranopia (green-blind)
#E7D152
Tritanopia (blue-blind)
#FFAEA8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #fec04e;
/* rgb */ color: rgb(254, 192, 78);
/* oklch */ color: oklch(84.4% 0.146 79.5);
Tailwind
colors: {
  custom: {
    50: '#ffd285',
    500: '#fec04e',
    950: '#000000',
  },
}
SCSS
$custom: #fec04e;
$custom-light: #ffd285;
$custom-dark: #000000;
JSON
{
  "hex": "#fec04e",
  "rgb": {
    "r": 254,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 38.864,
    "s": 98.876,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84446,
    "c": 0.14551,
    "h": 79.5
  },
  "luminance": 0.5932
}

Semantic roles & 50–950 ramp

primary
#FEC04E
secondary
#2560CB
accent
#51E600
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#19140B
muted
#87837E

Preview Lab

Preview with #FEC04E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#FEC04E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva