#E8D87D#E8D87D

#E8D87D is a very light, moderate yellow. Relative luminance 0.677; OKLCH L 87.6% C 0.114 H 99.5°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#E8D87D
RGBrgb(232, 216, 125)
HSLhsl(51, 70%, 70%)
HSVhsv(51, 46%, 91%)
CMYKcmyk(0%, 6.9%, 46.1%, 9%)
CIE-LABlab(85.88, -6.59, 46.63)
CIE-LCHlch(85.88, 47.10, 98.05°)
OKLaboklab(87.6% -0.0188 0.112)
OKLCHoklch(87.6% 0.114 99.5)
XYZxyz(61.5379, 67.7503, 29.2336)
Luminance0.6775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D87D #7D8DE8
analogous
#E8A27D #E8D87D #C3E87D
triadic
#E8D87D #7DE8D8 #D87DE8
tetradic
#E8D87D #7DE8A2 #7D8DE8 #E87DC3
square
#E8D87D #7DE8A2 #7D8DE8 #E87DC3
split-complementary
#E8D87D #7DC3E8 #A27DE8
monochromatic
#C7AF23 #DFC849 #E8D87D #F1E8B1 #FAF7E5

Accessibility & contrast

On white

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

On black

14.55
#E8D87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D87D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D87D#FFFFFF#000000##000000
##E8D87D1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D376
Deuteranopia (green-blind)
#ECDA81
Tritanopia (blue-blind)
#F6CCC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d87d;
/* rgb */ color: rgb(232, 216, 125);
/* oklch */ color: oklch(87.6% 0.114 99.5);
Tailwind
colors: {
  custom: {
    50: '#f1e3a4',
    500: '#e8d87d',
    950: '#000000',
  },
}
SCSS
$custom: #e8d87d;
$custom-light: #f1e3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d87d",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 51.028,
    "s": 69.935,
    "l": 70
  },
  "oklch": {
    "l": 0.87602,
    "c": 0.11358,
    "h": 99.5
  },
  "luminance": 0.67748
}

Semantic roles & 50–950 ramp

primary
#E8D87D
secondary
#495BC1
accent
#30D214
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D87D

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

Preview Lab → · Contrast checker → · Palette generator →

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