#FFE04E#FFE04E

#FFE04E is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.8% C 0.162 H 96.9°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#FFE04E
RGBrgb(255, 224, 78)
HSLhsl(49, 100%, 65%)
HSVhsv(49, 69%, 100%)
CMYKcmyk(0%, 12.2%, 69.4%, 0%)
CIE-LABlab(89.45, -4.56, 71.93)
CIE-LCHlch(89.45, 72.07, 93.63°)
OKLaboklab(90.76% -0.0195 0.1603)
OKLCHoklch(90.76% 0.162 96.9)
XYZxyz(69.2742, 75.1249, 18.0579)
Luminance0.7512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE04E #4E6DFF
analogous
#FF884E #FFE04E #C5FF4E
triadic
#FFE04E #4EFFE0 #E04EFF
tetradic
#FFE04E #4EFF88 #4E6DFF #FF4EC5
square
#FFE04E #4EFF88 #4E6DFF #FF4EC5
split-complementary
#FFE04E #4EC5FF #884EFF
monochromatic
#D3AE00 #FFD511 #FFE04E #FFEB8B #FFF5C8

Accessibility & contrast

On white

1.31
#FFE04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.02
#FFE04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFE04E
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFE04E#FFFFFF#000000##000000
##FFE04E1.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB39
Deuteranopia (green-blind)
#FEE556
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffe04e;
/* rgb */ color: rgb(255, 224, 78);
/* oklch */ color: oklch(90.8% 0.162 96.9);
Tailwind
colors: {
  custom: {
    50: '#ffe988',
    500: '#ffe04e',
    950: '#000000',
  },
}
SCSS
$custom: #ffe04e;
$custom-light: #ffe988;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe04e",
  "rgb": {
    "r": 255,
    "g": 224,
    "b": 78
  },
  "hsl": {
    "h": 49.492,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.90756,
    "c": 0.16151,
    "h": 96.9
  },
  "luminance": 0.75121
}

Semantic roles & 50–950 ramp

primary
#FFE04E
secondary
#2442CD
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFE04E

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

Preview Lab → · Contrast checker → · Palette generator →

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