#E5DC57#E5DC57

#E5DC57 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.7% C 0.152 H 105.4°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#E5DC57
RGBrgb(229, 220, 87)
HSLhsl(56, 73%, 62%)
HSVhsv(56, 62%, 90%)
CMYKcmyk(0%, 3.9%, 62%, 10.2%)
CIE-LABlab(86.27, -12.80, 64.37)
CIE-LCHlch(86.27, 65.63, 101.25°)
OKLaboklab(87.73% -0.0405 0.1465)
OKLCHoklch(87.73% 0.152 105.4)
XYZxyz(59.6287, 68.5346, 19.1025)
Luminance0.6853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC57 #5760E5
analogous
#E59557 #E5DC57 #A7E557
triadic
#E5DC57 #57E5DC #DC57E5
tetradic
#E5DC57 #57E595 #5760E5 #E557A7
square
#E5DC57 #57E595 #5760E5 #E557A7
split-complementary
#E5DC57 #57A7E5 #9557E5
monochromatic
#A89F1A #DDD122 #E5DC57 #EDE78C #F5F2C1

Accessibility & contrast

On white

1.43
#E5DC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#E5DC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DC57
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DC57#FFFFFF#000000##000000
##E5DC571.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED547
Deuteranopia (green-blind)
#F1DB5F
Tritanopia (blue-blind)
#F5CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e5dc57;
/* rgb */ color: rgb(229, 220, 87);
/* oklch */ color: oklch(87.7% 0.152 105.4);
Tailwind
colors: {
  custom: {
    50: '#f0e68c',
    500: '#e5dc57',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc57;
$custom-light: #f0e68c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc57",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 87
  },
  "hsl": {
    "h": 56.197,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87726,
    "c": 0.15201,
    "h": 105.4
  },
  "luminance": 0.68533
}

Semantic roles & 50–950 ramp

primary
#E5DC57
secondary
#373EAA
accent
#1DD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5DC57

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

Preview Lab → · Contrast checker → · Palette generator →

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