#E8D96B#E8D96B

#E8D96B is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.6% C 0.132 H 101.6°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#E8D96B
RGBrgb(232, 217, 107)
HSLhsl(53, 73%, 66%)
HSVhsv(53, 54%, 91%)
CMYKcmyk(0%, 6.5%, 53.9%, 9%)
CIE-LABlab(85.93, -8.66, 55.26)
CIE-LCHlch(85.93, 55.93, 98.90°)
OKLaboklab(87.57% -0.0266 0.1294)
OKLCHoklch(87.57% 0.132 101.6)
XYZxyz(60.7474, 67.8452, 23.8026)
Luminance0.6784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D96B #6B7AE8
analogous
#E89B6B #E8D96B #B9E86B
triadic
#E8D96B #6BE8D9 #D96BE8
tetradic
#E8D96B #6BE89B #6B7AE8 #E86BB9
square
#E8D96B #6BE89B #6B7AE8 #E86BB9
split-complementary
#E8D96B #6BB9E8 #9B6BE8
monochromatic
#BBA81D #E0CB36 #E8D96B #F0E7A0 #F8F4D5

Accessibility & contrast

On white

1.44
#E8D96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#E8D96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D96B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D96B#FFFFFF#000000##000000
##E8D96B1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD360
Deuteranopia (green-blind)
#EFDA70
Tritanopia (blue-blind)
#F7CCC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d96b;
/* rgb */ color: rgb(232, 217, 107);
/* oklch */ color: oklch(87.6% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#f2e498',
    500: '#e8d96b',
    950: '#000000',
  },
}
SCSS
$custom: #e8d96b;
$custom-light: #f2e498;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d96b",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 52.8,
    "s": 73.099,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87572,
    "c": 0.13213,
    "h": 101.6
  },
  "luminance": 0.67843
}

Semantic roles & 50–950 ramp

primary
#E8D96B
secondary
#3C4CBB
accent
#28D510
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D96B

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

Preview Lab → · Contrast checker → · Palette generator →

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