#E5D87F#E5D87F

#E5D87F is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.4% C 0.111 H 101.1°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#E5D87F
RGBrgb(229, 216, 127)
HSLhsl(52, 66%, 70%)
HSVhsv(52, 45%, 90%)
CMYKcmyk(0%, 5.7%, 44.5%, 10.2%)
CIE-LABlab(85.66, -7.60, 45.32)
CIE-LCHlch(85.66, 45.95, 99.51°)
OKLaboklab(87.37% -0.0214 0.1092)
OKLCHoklch(87.37% 0.111 101.1)
XYZxyz(60.7012, 67.3040, 29.8680)
Luminance0.6730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D87F #7F8CE5
analogous
#E5A57F #E5D87F #BFE57F
triadic
#E5D87F #7FE5D8 #D87FE5
tetradic
#E5D87F #7FE5A5 #7F8CE5 #E57FBF
square
#E5D87F #7FE5A5 #7F8CE5 #E57FBF
split-complementary
#E5D87F #7FBFE5 #A57FE5
monochromatic
#C2AE27 #DBC94C #E5D87F #EFE7B2 #FAF7E5

Accessibility & contrast

On white

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

On black

14.46
#E5D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D87F
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D87F#FFFFFF#000000##000000
##E5D87F1.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D378
Deuteranopia (green-blind)
#EBD983
Tritanopia (blue-blind)
#F3CDC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d87f;
/* rgb */ color: rgb(229, 216, 127);
/* oklch */ color: oklch(87.4% 0.111 101.1);
Tailwind
colors: {
  custom: {
    50: '#efe3a5',
    500: '#e5d87f',
    950: '#000000',
  },
}
SCSS
$custom: #e5d87f;
$custom-light: #efe3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d87f",
  "rgb": {
    "r": 229,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 52.353,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87373,
    "c": 0.11131,
    "h": 101.1
  },
  "luminance": 0.67302
}

Semantic roles & 50–950 ramp

primary
#E5D87F
secondary
#4B5ABD
accent
#2FCE17
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E5D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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