#E5D96C#E5D96C

#E5D96C is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.3% C 0.131 H 103.0°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#E5D96C
RGBrgb(229, 217, 108)
HSLhsl(54, 70%, 66%)
HSVhsv(54, 53%, 90%)
CMYKcmyk(0%, 5.2%, 52.8%, 10.2%)
CIE-LABlab(85.69, -9.79, 54.45)
CIE-LCHlch(85.69, 55.33, 100.20°)
OKLaboklab(87.33% -0.0296 0.1278)
OKLCHoklch(87.33% 0.131 103)
XYZxyz(59.8346, 67.3685, 24.0360)
Luminance0.6737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D96C #6C78E5
analogous
#E59C6C #E5D96C #B4E56C
triadic
#E5D96C #6CE5D9 #D96CE5
tetradic
#E5D96C #6CE59C #6C78E5 #E56CB4
square
#E5D96C #6CE59C #6C78E5 #E56CB4
split-complementary
#E5D96C #6CB4E5 #9C6CE5
monochromatic
#B6A720 #DCCC38 #E5D96C #EEE6A0 #F7F4D4

Accessibility & contrast

On white

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

On black

14.47
#E5D96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D96C
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D96C#FFFFFF#000000##000000
##E5D96C1.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD362
Deuteranopia (green-blind)
#EDD971
Tritanopia (blue-blind)
#F4CCC0
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d96c;
/* rgb */ color: rgb(229, 217, 108);
/* oklch */ color: oklch(87.3% 0.131 103.0);
Tailwind
colors: {
  custom: {
    50: '#f0e499',
    500: '#e5d96c',
    950: '#000000',
  },
}
SCSS
$custom: #e5d96c;
$custom-light: #f0e499;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d96c",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 54.05,
    "s": 69.942,
    "l": 66.078
  },
  "oklch": {
    "l": 0.87325,
    "c": 0.13121,
    "h": 103
  },
  "luminance": 0.67366
}

Semantic roles & 50–950 ramp

primary
#E5D96C
secondary
#3F4AB7
accent
#26D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D96C

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

Preview Lab → · Contrast checker → · Palette generator →

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