#E5D257#E5D257

#E5D257 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.143 H 100.5°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#E5D257
RGBrgb(229, 210, 87)
HSLhsl(52, 73%, 62%)
HSVhsv(52, 62%, 90%)
CMYKcmyk(0%, 8.3%, 62%, 10.2%)
CIE-LABlab(83.67, -7.78, 61.57)
CIE-LCHlch(83.67, 62.06, 97.20°)
OKLaboklab(85.66% -0.0262 0.1406)
OKLCHoklch(85.66% 0.143 100.5)
XYZxyz(57.0823, 63.4417, 18.2537)
Luminance0.6344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D257 #576AE5
analogous
#E58B57 #E5D257 #B1E557
triadic
#E5D257 #57E5D2 #D257E5
tetradic
#E5D257 #57E58B #576AE5 #E557B1
square
#E5D257 #57E58B #576AE5 #E557B1
split-complementary
#E5D257 #57B1E5 #8B57E5
monochromatic
#A8951A #DDC422 #E5D257 #EDE08C #F5EEC1

Accessibility & contrast

On white

1.53
#E5D257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#E5D257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D257
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D257#FFFFFF#000000##000000
##E5D2571.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#EAD45E
Tritanopia (blue-blind)
#F5C4B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e5d257;
/* rgb */ color: rgb(229, 210, 87);
/* oklch */ color: oklch(85.7% 0.143 100.5);
Tailwind
colors: {
  custom: {
    50: '#f0df8b',
    500: '#e5d257',
    950: '#000000',
  },
}
SCSS
$custom: #e5d257;
$custom-light: #f0df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d257",
  "rgb": {
    "r": 229,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 51.972,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8566,
    "c": 0.14301,
    "h": 100.5
  },
  "luminance": 0.63439
}

Semantic roles & 50–950 ramp

primary
#E5D257
secondary
#3746AA
accent
#2BD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D257

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

Preview Lab → · Contrast checker → · Palette generator →

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