#E5D957#E5D957

#E5D957 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.1% C 0.149 H 104.0°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E5D957
RGBrgb(229, 217, 87)
HSLhsl(55, 73%, 62%)
HSVhsv(55, 62%, 90%)
CMYKcmyk(0%, 5.2%, 62%, 10.2%)
CIE-LABlab(85.49, -11.30, 63.53)
CIE-LCHlch(85.49, 64.53, 100.09°)
OKLaboklab(87.1% -0.0362 0.1448)
OKLCHoklch(87.1% 0.149 104)
XYZxyz(58.8484, 66.9740, 18.8424)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D957 #5763E5
analogous
#E59257 #E5D957 #AAE557
triadic
#E5D957 #57E5D9 #D957E5
tetradic
#E5D957 #57E592 #5763E5 #E557AA
square
#E5D957 #57E592 #5763E5 #E557AA
split-complementary
#E5D957 #57AAE5 #9257E5
monochromatic
#A89C1A #DDCD22 #E5D957 #EDE58C #F5F1C1

Accessibility & contrast

On white

1.46
#E5D957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#E5D957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D957
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D957#FFFFFF#000000##000000
##E5D9571.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD247
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#F5CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d957;
/* rgb */ color: rgb(229, 217, 87);
/* oklch */ color: oklch(87.1% 0.149 104.0);
Tailwind
colors: {
  custom: {
    50: '#f0e48c',
    500: '#e5d957',
    950: '#000000',
  },
}
SCSS
$custom: #e5d957;
$custom-light: #f0e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d957",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 54.93,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.87103,
    "c": 0.14921,
    "h": 104
  },
  "luminance": 0.66972
}

Semantic roles & 50–950 ramp

primary
#E5D957
secondary
#3740AA
accent
#21D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D957

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

Preview Lab → · Contrast checker → · Palette generator →

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