#E2D87F#E2D87F

#E2D87F is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.111 H 102.8°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E2D87F
RGBrgb(226, 216, 127)
HSLhsl(54, 63%, 69%)
HSVhsv(54, 44%, 89%)
CMYKcmyk(0%, 4.4%, 43.8%, 11.4%)
CIE-LABlab(85.41, -8.79, 44.96)
CIE-LCHlch(85.41, 45.81, 101.06°)
OKLaboklab(87.12% -0.0246 0.1085)
OKLCHoklch(87.12% 0.111 102.8)
XYZxyz(59.7520, 66.8145, 29.8235)
Luminance0.6681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D87F #7F89E2
analogous
#E2A77F #E2D87F #BBE27F
triadic
#E2D87F #7FE2D8 #D87FE2
tetradic
#E2D87F #7FE2A7 #7F89E2 #E27FBB
square
#E2D87F #7FE2A7 #7F89E2 #E27FBB
split-complementary
#E2D87F #7FBBE2 #A77FE2
monochromatic
#BCAD2B #D7C94D #E2D87F #EDE7B1 #F9F6E3

Accessibility & contrast

On white

1.46
#E2D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#E2D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D87F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D87F#FFFFFF#000000##000000
##E2D87F1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D378
Deuteranopia (green-blind)
#EAD883
Tritanopia (blue-blind)
#EFCDC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d87f;
/* rgb */ color: rgb(226, 216, 127);
/* oklch */ color: oklch(87.1% 0.111 102.8);
Tailwind
colors: {
  custom: {
    50: '#ede3a5',
    500: '#e2d87f',
    950: '#000000',
  },
}
SCSS
$custom: #e2d87f;
$custom-light: #ede3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d87f",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 53.939,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87117,
    "c": 0.11124,
    "h": 102.8
  },
  "luminance": 0.66813
}

Semantic roles & 50–950 ramp

primary
#E2D87F
secondary
#4C57BA
accent
#2CCB1B
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#16150F
muted
#858480

Preview Lab

Preview with #E2D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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