#E4D96F#E4D96F

#E4D96F is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.128 H 103.4°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#E4D96F
RGBrgb(228, 217, 111)
HSLhsl(54, 68%, 66%)
HSVhsv(54, 51%, 89%)
CMYKcmyk(0%, 4.8%, 51.3%, 10.6%)
CIE-LABlab(85.64, -9.95, 52.97)
CIE-LCHlch(85.64, 53.90, 100.64°)
OKLaboklab(87.28% -0.0297 0.1249)
OKLCHoklch(87.28% 0.128 103.4)
XYZxyz(59.6787, 67.2693, 24.8765)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D96F #6F7AE4
analogous
#E49F6F #E4D96F #B5E46F
triadic
#E4D96F #6FE4D9 #D96FE4
tetradic
#E4D96F #6FE49F #6F7AE4 #E46FB5
square
#E4D96F #6FE49F #6F7AE4 #E46FB5
split-complementary
#E4D96F #6FB5E4 #9F6FE4
monochromatic
#B6A822 #DACB3B #E4D96F #EEE7A3 #F7F4D6

Accessibility & contrast

On white

1.45
#E4D96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#E4D96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D96F
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D96F#FFFFFF#000000##000000
##E4D96F1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D365
Deuteranopia (green-blind)
#EDD974
Tritanopia (blue-blind)
#F3CDC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e4d96f;
/* rgb */ color: rgb(228, 217, 111);
/* oklch */ color: oklch(87.3% 0.128 103.4);
Tailwind
colors: {
  custom: {
    50: '#efe49b',
    500: '#e4d96f',
    950: '#000000',
  },
}
SCSS
$custom: #e4d96f;
$custom-light: #efe49b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d96f",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 54.359,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87276,
    "c": 0.1284,
    "h": 103.4
  },
  "luminance": 0.67267
}

Semantic roles & 50–950 ramp

primary
#E4D96F
secondary
#404CB7
accent
#27D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D96F

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

Preview Lab → · Contrast checker → · Palette generator →

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