#E8DE7D#E8DE7D

#E8DE7D is a very light, moderate yellow. Relative luminance 0.709; OKLCH L 88.8% C 0.119 H 103.3°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#E8DE7D
RGBrgb(232, 222, 125)
HSLhsl(54, 70%, 70%)
HSVhsv(54, 46%, 91%)
CMYKcmyk(0%, 4.3%, 46.1%, 9%)
CIE-LABlab(87.43, -9.62, 48.54)
CIE-LCHlch(87.43, 49.48, 101.21°)
OKLaboklab(88.83% -0.0275 0.1162)
OKLCHoklch(88.83% 0.119 103.3)
XYZxyz(63.1032, 70.8809, 29.7554)
Luminance0.7088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DE7D #7D87E8
analogous
#E8A97D #E8DE7D #BCE87D
triadic
#E8DE7D #7DE8DE #DE7DE8
tetradic
#E8DE7D #7DE8A9 #7D87E8 #E87DBC
square
#E8DE7D #7DE8A9 #7D87E8 #E87DBC
split-complementary
#E8DE7D #7DBCE8 #A97DE8
monochromatic
#C7B823 #DFD149 #E8DE7D #F1EBB1 #FAF8E5

Accessibility & contrast

On white

1.38
#E8DE7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#E8DE7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DE7D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DE7D#FFFFFF#000000##000000
##E8DE7D1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD875
Deuteranopia (green-blind)
#F1DE81
Tritanopia (blue-blind)
#F6D2C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8de7d;
/* rgb */ color: rgb(232, 222, 125);
/* oklch */ color: oklch(88.8% 0.119 103.3);
Tailwind
colors: {
  custom: {
    50: '#f1e8a4',
    500: '#e8de7d',
    950: '#000000',
  },
}
SCSS
$custom: #e8de7d;
$custom-light: #f1e8a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e8de7d",
  "rgb": {
    "r": 232,
    "g": 222,
    "b": 125
  },
  "hsl": {
    "h": 54.393,
    "s": 69.935,
    "l": 70
  },
  "oklch": {
    "l": 0.88828,
    "c": 0.11946,
    "h": 103.3
  },
  "luminance": 0.70879
}

Semantic roles & 50–950 ramp

primary
#E8DE7D
secondary
#4954C1
accent
#25D214
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E8DE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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