#E8DA7D#E8DA7D

#E8DA7D is a very light, moderate yellow. Relative luminance 0.688; OKLCH L 88.0% C 0.115 H 100.9°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#E8DA7D
RGBrgb(232, 218, 125)
HSLhsl(52, 70%, 70%)
HSVhsv(52, 46%, 91%)
CMYKcmyk(0%, 6%, 46.1%, 9%)
CIE-LABlab(86.40, -7.60, 47.27)
CIE-LCHlch(86.40, 47.88, 99.14°)
OKLaboklab(88.01% -0.0217 0.1134)
OKLCHoklch(88.01% 0.115 100.9)
XYZxyz(62.0534, 68.7813, 29.4054)
Luminance0.6878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DA7D #7D8BE8
analogous
#E8A57D #E8DA7D #C0E87D
triadic
#E8DA7D #7DE8DA #DA7DE8
tetradic
#E8DA7D #7DE8A5 #7D8BE8 #E87DC0
square
#E8DA7D #7DE8A5 #7D8BE8 #E87DC0
split-complementary
#E8DA7D #7DC0E8 #A57DE8
monochromatic
#C7B223 #DFCB49 #E8DA7D #F1E9B1 #FAF8E5

Accessibility & contrast

On white

1.42
#E8DA7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#E8DA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DA7D
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DA7D#FFFFFF#000000##000000
##E8DA7D1.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD575
Deuteranopia (green-blind)
#EEDB81
Tritanopia (blue-blind)
#F6CEC4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e8da7d;
/* rgb */ color: rgb(232, 218, 125);
/* oklch */ color: oklch(88.0% 0.115 100.9);
Tailwind
colors: {
  custom: {
    50: '#f1e5a4',
    500: '#e8da7d',
    950: '#000000',
  },
}
SCSS
$custom: #e8da7d;
$custom-light: #f1e5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e8da7d",
  "rgb": {
    "r": 232,
    "g": 218,
    "b": 125
  },
  "hsl": {
    "h": 52.15,
    "s": 69.935,
    "l": 70
  },
  "oklch": {
    "l": 0.8801,
    "c": 0.11548,
    "h": 100.9
  },
  "luminance": 0.68779
}

Semantic roles & 50–950 ramp

primary
#E8DA7D
secondary
#4958C1
accent
#2CD214
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E8DA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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