#E8D157#E8D157

#E8D157 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.142 H 98.6°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#E8D157
RGBrgb(232, 209, 87)
HSLhsl(50, 76%, 63%)
HSVhsv(50, 63%, 91%)
CMYKcmyk(0%, 9.9%, 62.5%, 9%)
CIE-LABlab(83.68, -6.03, 61.65)
CIE-LCHlch(83.68, 61.95, 95.58°)
OKLaboklab(85.73% -0.0213 0.1407)
OKLCHoklch(85.73% 0.142 98.6)
XYZxyz(57.8019, 63.4475, 18.2169)
Luminance0.6344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D157 #576EE8
analogous
#E88957 #E8D157 #B6E857
triadic
#E8D157 #57E8D1 #D157E8
tetradic
#E8D157 #57E889 #576EE8 #E857B6
square
#E8D157 #57E889 #576EE8 #E857B6
split-complementary
#E8D157 #57B6E8 #8957E8
monochromatic
#AD9518 #E1C221 #E8D157 #EFE08D #F7EEC3

Accessibility & contrast

On white

1.53
#E8D157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#E8D157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D157
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D157#FFFFFF#000000##000000
##E8D1571.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#EAD45D
Tritanopia (blue-blind)
#F9C3B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e8d157;
/* rgb */ color: rgb(232, 209, 87);
/* oklch */ color: oklch(85.7% 0.142 98.6);
Tailwind
colors: {
  custom: {
    50: '#f3de8b',
    500: '#e8d157',
    950: '#000000',
  },
}
SCSS
$custom: #e8d157;
$custom-light: #f3de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d157",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 50.483,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85725,
    "c": 0.1423,
    "h": 98.6
  },
  "luminance": 0.63445
}

Semantic roles & 50–950 ramp

primary
#E8D157
secondary
#3548AE
accent
#2ED80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D157

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

Preview Lab → · Contrast checker → · Palette generator →

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