#E2D857#E2D857

#E2D857 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.148 H 104.9°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#E2D857
RGBrgb(226, 216, 87)
HSLhsl(56, 71%, 61%)
HSVhsv(56, 62%, 89%)
CMYKcmyk(0%, 4.4%, 61.5%, 11.4%)
CIE-LABlab(84.98, -12.04, 62.91)
CIE-LCHlch(84.98, 64.05, 100.83°)
OKLaboklab(86.64% -0.0381 0.1435)
OKLCHoklch(86.64% 0.148 104.9)
XYZxyz(57.6422, 65.9706, 18.7122)
Luminance0.6597 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D857 #5761E2
analogous
#E29357 #E2D857 #A7E257
triadic
#E2D857 #57E2D8 #D857E2
tetradic
#E2D857 #57E293 #5761E2 #E257A7
square
#E2D857 #57E293 #5761E2 #E257A7
split-complementary
#E2D857 #57A7E2 #9357E2
monochromatic
#A3991C #D7CA25 #E2D857 #EBE48B #F4F0BF

Accessibility & contrast

On white

1.48
#E2D857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#E2D857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D857
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D857#FFFFFF#000000##000000
##E2D8571.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD148
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#F2CABD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d857;
/* rgb */ color: rgb(226, 216, 87);
/* oklch */ color: oklch(86.6% 0.148 104.9);
Tailwind
colors: {
  custom: {
    50: '#eee38c',
    500: '#e2d857',
    950: '#000000',
  },
}
SCSS
$custom: #e2d857;
$custom-light: #eee38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d857",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 55.683,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86638,
    "c": 0.14849,
    "h": 104.9
  },
  "luminance": 0.65969
}

Semantic roles & 50–950 ramp

primary
#E2D857
secondary
#3840A5
accent
#21D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D857

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

Preview Lab → · Contrast checker → · Palette generator →

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