#E5DD57#E5DD57

#E5DD57 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.9% C 0.153 H 105.9°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#E5DD57
RGBrgb(229, 221, 87)
HSLhsl(57, 73%, 62%)
HSVhsv(57, 62%, 90%)
CMYKcmyk(0%, 3.5%, 62%, 10.2%)
CIE-LABlab(86.53, -13.30, 64.65)
CIE-LCHlch(86.53, 66.00, 101.62°)
OKLaboklab(87.93% -0.0419 0.1471)
OKLCHoklch(87.93% 0.153 105.9)
XYZxyz(59.8919, 69.0611, 19.1902)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DD57 #575FE5
analogous
#E59657 #E5DD57 #A6E557
triadic
#E5DD57 #57E5DD #DD57E5
tetradic
#E5DD57 #57E596 #575FE5 #E557A6
square
#E5DD57 #57E596 #575FE5 #E557A6
split-complementary
#E5DD57 #57A6E5 #9657E5
monochromatic
#A8A01A #DDD222 #E5DD57 #EDE88C #F5F2C1

Accessibility & contrast

On white

1.42
#E5DD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#E5DD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DD57
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DD57#FFFFFF#000000##000000
##E5DD571.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD547
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#F5CFC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e5dd57;
/* rgb */ color: rgb(229, 221, 87);
/* oklch */ color: oklch(87.9% 0.153 105.9);
Tailwind
colors: {
  custom: {
    50: '#f0e78c',
    500: '#e5dd57',
    950: '#000000',
  },
}
SCSS
$custom: #e5dd57;
$custom-light: #f0e78c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dd57",
  "rgb": {
    "r": 229,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 56.62,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87933,
    "c": 0.15296,
    "h": 105.9
  },
  "luminance": 0.69059
}

Semantic roles & 50–950 ramp

primary
#E5DD57
secondary
#373DAA
accent
#1BD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5DD57

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

Preview Lab → · Contrast checker → · Palette generator →

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