#E8D57F#E8D57F

#E8D57F is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.109 H 97.2°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E8D57F
RGBrgb(232, 213, 127)
HSLhsl(49, 70%, 70%)
HSVhsv(49, 45%, 91%)
CMYKcmyk(0%, 8.2%, 45.3%, 9%)
CIE-LABlab(85.14, -4.88, 44.73)
CIE-LCHlch(85.14, 44.99, 96.22°)
OKLaboklab(87.02% -0.0137 0.1079)
OKLCHoklch(87.02% 0.109 97.2)
XYZxyz(60.9054, 66.2788, 29.6594)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D57F #7F92E8
analogous
#E8A07F #E8D57F #C6E87F
triadic
#E8D57F #7FE8D5 #D57FE8
tetradic
#E8D57F #7FE8A0 #7F92E8 #E87FC6
square
#E8D57F #7FE8A0 #7F92E8 #E87FC6
split-complementary
#E8D57F #7FC6E8 #A07FE8
monochromatic
#C9AB24 #DFC44B #E8D57F #F1E6B3 #FAF6E5

Accessibility & contrast

On white

1.47
#E8D57F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#E8D57F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D57F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D57F#FFFFFF#000000##000000
##E8D57F1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D178
Deuteranopia (green-blind)
#EAD882
Tritanopia (blue-blind)
#F6CAC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d57f;
/* rgb */ color: rgb(232, 213, 127);
/* oklch */ color: oklch(87.0% 0.109 97.2);
Tailwind
colors: {
  custom: {
    50: '#f1e1a5',
    500: '#e8d57f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d57f;
$custom-light: #f1e1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d57f",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 127
  },
  "hsl": {
    "h": 49.143,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87022,
    "c": 0.10875,
    "h": 97.2
  },
  "luminance": 0.66277
}

Semantic roles & 50–950 ramp

primary
#E8D57F
secondary
#4B60C1
accent
#36D214
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D57F

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

Preview Lab → · Contrast checker → · Palette generator →

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