#E2DF57#E2DF57

#E2DF57 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.1% C 0.155 H 108.0°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#E2DF57
RGBrgb(226, 223, 87)
HSLhsl(59, 71%, 61%)
HSVhsv(59, 62%, 89%)
CMYKcmyk(0%, 1.3%, 61.5%, 11.4%)
CIE-LABlab(86.82, -15.52, 64.88)
CIE-LCHlch(86.82, 66.71, 103.45°)
OKLaboklab(88.1% -0.048 0.1477)
OKLCHoklch(88.1% 0.155 108)
XYZxyz(59.4739, 69.6340, 19.3228)
Luminance0.6963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF57 #575AE2
analogous
#E29A57 #E2DF57 #A0E257
triadic
#E2DF57 #57E2DF #DF57E2
tetradic
#E2DF57 #57E29A #575AE2 #E257A0
square
#E2DF57 #57E29A #575AE2 #E257A0
split-complementary
#E2DF57 #57A0E2 #9A57E2
monochromatic
#A3A01C #D7D325 #E2DF57 #EBE98B #F4F3BF

Accessibility & contrast

On white

1.41
#E2DF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#E2DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF57
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF57#FFFFFF#000000##000000
##E2DF571.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D746
Deuteranopia (green-blind)
#F3DC5F
Tritanopia (blue-blind)
#F1D2C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2df57;
/* rgb */ color: rgb(226, 223, 87);
/* oklch */ color: oklch(88.1% 0.155 108.0);
Tailwind
colors: {
  custom: {
    50: '#eee88c',
    500: '#e2df57',
    950: '#000000',
  },
}
SCSS
$custom: #e2df57;
$custom-light: #eee88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df57",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 58.705,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.881,
    "c": 0.15528,
    "h": 108
  },
  "luminance": 0.69632
}

Semantic roles & 50–950 ramp

primary
#E2DF57
secondary
#383AA5
accent
#17D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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