#E2DB57#E2DB57

#E2DB57 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.3% C 0.151 H 106.3°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#E2DB57
RGBrgb(226, 219, 87)
HSLhsl(57, 71%, 61%)
HSVhsv(57, 62%, 89%)
CMYKcmyk(0%, 3.1%, 61.5%, 11.4%)
CIE-LABlab(85.77, -13.54, 63.76)
CIE-LCHlch(85.77, 65.18, 101.99°)
OKLaboklab(87.26% -0.0424 0.1453)
OKLCHoklch(87.26% 0.151 106.3)
XYZxyz(58.4178, 67.5218, 18.9708)
Luminance0.6752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB57 #575EE2
analogous
#E29657 #E2DB57 #A4E257
triadic
#E2DB57 #57E2DB #DB57E2
tetradic
#E2DB57 #57E296 #575EE2 #E257A4
square
#E2DB57 #57E296 #575EE2 #E257A4
split-complementary
#E2DB57 #57A4E2 #9657E2
monochromatic
#A39C1C #D7CE25 #E2DB57 #EBE68B #F4F1BF

Accessibility & contrast

On white

1.45
#E2DB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#E2DB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB57
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB57#FFFFFF#000000##000000
##E2DB571.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD347
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#F1CDBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db57;
/* rgb */ color: rgb(226, 219, 87);
/* oklch */ color: oklch(87.3% 0.151 106.3);
Tailwind
colors: {
  custom: {
    50: '#eee58c',
    500: '#e2db57',
    950: '#000000',
  },
}
SCSS
$custom: #e2db57;
$custom-light: #eee58c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db57",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 56.978,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87263,
    "c": 0.15135,
    "h": 106.3
  },
  "luminance": 0.6752
}

Semantic roles & 50–950 ramp

primary
#E2DB57
secondary
#383DA5
accent
#1DD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DB57

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

Preview Lab → · Contrast checker → · Palette generator →

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