#FFE04D#FFE04D

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

Color values

HEX#FFE04D
RGBrgb(255, 224, 77)
HSLhsl(50, 100%, 65%)
HSVhsv(50, 70%, 100%)
CMYKcmyk(0%, 12.2%, 69.8%, 0%)
CIE-LABlab(89.44, -4.61, 72.30)
CIE-LCHlch(89.44, 72.45, 93.65°)
OKLaboklab(90.75% -0.0197 0.1609)
OKLCHoklch(90.75% 0.162 97)
XYZxyz(69.2386, 75.1107, 17.8706)
Luminance0.7511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFE04D #4D6CFF
analogous
#FF874D #FFE04D #C5FF4D
triadic
#FFE04D #4DFFE0 #E04DFF
tetradic
#FFE04D #4DFF87 #4D6CFF #FF4DC5
square
#FFE04D #4DFF87 #4D6CFF #FF4DC5
split-complementary
#FFE04D #4DC5FF #874DFF
monochromatic
#D2AD00 #FFD510 #FFE04D #FFEB8A #FFF5C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFE04D#FFFFFF#000000##000000
##FFE04D1.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)
#F6DB37
Deuteranopia (green-blind)
#FEE556
Tritanopia (blue-blind)
#FFCFC3
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ffe04d;
/* rgb */ color: rgb(255, 224, 77);
/* oklch */ color: oklch(90.7% 0.162 97.0);
Tailwind
colors: {
  custom: {
    50: '#ffe987',
    500: '#ffe04d',
    950: '#000000',
  },
}
SCSS
$custom: #ffe04d;
$custom-light: #ffe987;
$custom-dark: #000000;
JSON
{
  "hex": "#ffe04d",
  "rgb": {
    "r": 255,
    "g": 224,
    "b": 77
  },
  "hsl": {
    "h": 49.551,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.90748,
    "c": 0.16214,
    "h": 97
  },
  "luminance": 0.75107
}

Semantic roles & 50–950 ramp

primary
#FFE04D
secondary
#2441CC
accent
#28E600
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#19160C
muted
#87847F

Preview Lab

Preview with #FFE04D

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

Preview Lab → · Contrast checker → · Palette generator →

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