#E9D87F#E9D87F

#E9D87F is a very light, moderate yellow. Relative luminance 0.680; OKLCH L 87.7% C 0.112 H 98.8°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#E9D87F
RGBrgb(233, 216, 127)
HSLhsl(50, 71%, 71%)
HSVhsv(50, 45%, 91%)
CMYKcmyk(0%, 7.3%, 45.5%, 8.6%)
CIE-LABlab(85.99, -6.00, 45.81)
CIE-LCHlch(85.99, 46.20, 97.47°)
OKLaboklab(87.72% -0.017 0.1103)
OKLCHoklch(87.72% 0.112 98.8)
XYZxyz(61.9925, 67.9698, 29.9285)
Luminance0.6797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D87F #7F90E9
analogous
#E9A37F #E9D87F #C5E97F
triadic
#E9D87F #7FE9D8 #D87FE9
tetradic
#E9D87F #7FE9A3 #7F90E9 #E97FC5
square
#E9D87F #7FE9A3 #7F90E9 #E97FC5
split-complementary
#E9D87F #7FC5E9 #A37FE9
monochromatic
#CBB023 #E0C84B #E9D87F #F2E8B3 #FBF7E5

Accessibility & contrast

On white

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

On black

14.59
#E9D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D87F
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D87F#FFFFFF#000000##000000
##E9D87F1.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D378
Deuteranopia (green-blind)
#ECDA83
Tritanopia (blue-blind)
#F7CCC3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e9d87f;
/* rgb */ color: rgb(233, 216, 127);
/* oklch */ color: oklch(87.7% 0.112 98.8);
Tailwind
colors: {
  custom: {
    50: '#f2e3a5',
    500: '#e9d87f',
    950: '#000000',
  },
}
SCSS
$custom: #e9d87f;
$custom-light: #f2e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d87f",
  "rgb": {
    "r": 233,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 50.377,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.87718,
    "c": 0.11159,
    "h": 98.8
  },
  "luminance": 0.67968
}

Semantic roles & 50–950 ramp

primary
#E9D87F
secondary
#4A5DC2
accent
#32D313
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E9D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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