#E8D96C#E8D96C

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

Color values

HEX#E8D96C
RGBrgb(232, 217, 108)
HSLhsl(53, 73%, 67%)
HSVhsv(53, 53%, 91%)
CMYKcmyk(0%, 6.5%, 53.4%, 9%)
CIE-LABlab(85.94, -8.58, 54.81)
CIE-LCHlch(85.94, 55.48, 98.90°)
OKLaboklab(87.58% -0.0263 0.1286)
OKLCHoklch(87.58% 0.131 101.6)
XYZxyz(60.8003, 67.8664, 24.0813)
Luminance0.6786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D96C #6C7BE8
analogous
#E89B6C #E8D96C #B9E86C
triadic
#E8D96C #6CE8D9 #D96CE8
tetradic
#E8D96C #6CE89B #6C7BE8 #E86CB9
square
#E8D96C #6CE89B #6C7BE8 #E86CB9
split-complementary
#E8D96C #6CB9E8 #9B6CE8
monochromatic
#BCA91D #E0CB37 #E8D96C #F0E7A1 #F9F4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8D96C#FFFFFF#000000##000000
##E8D96C1.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)
#EAD362
Deuteranopia (green-blind)
#EFDA71
Tritanopia (blue-blind)
#F7CCC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d96c;
/* rgb */ color: rgb(232, 217, 108);
/* oklch */ color: oklch(87.6% 0.131 101.6);
Tailwind
colors: {
  custom: {
    50: '#f2e499',
    500: '#e8d96c',
    950: '#000000',
  },
}
SCSS
$custom: #e8d96c;
$custom-light: #f2e499;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d96c",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 52.742,
    "s": 72.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87584,
    "c": 0.13121,
    "h": 101.6
  },
  "luminance": 0.67864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8D96C

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

Preview Lab → · Contrast checker → · Palette generator →

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