#E5D258#E5D258

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

Color values

HEX#E5D258
RGBrgb(229, 210, 88)
HSLhsl(52, 73%, 62%)
HSVhsv(52, 62%, 90%)
CMYKcmyk(0%, 8.3%, 61.6%, 10.2%)
CIE-LABlab(83.68, -7.72, 61.15)
CIE-LCHlch(83.68, 61.64, 97.19°)
OKLaboklab(85.67% -0.0259 0.1398)
OKLCHoklch(85.67% 0.142 100.5)
XYZxyz(57.1234, 63.4582, 18.4703)
Luminance0.6346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D258 #586BE5
analogous
#E58C58 #E5D258 #B2E558
triadic
#E5D258 #58E5D2 #D258E5
tetradic
#E5D258 #58E58C #586BE5 #E558B2
square
#E5D258 #58E58C #586BE5 #E558B2
split-complementary
#E5D258 #58B2E5 #8C58E5
monochromatic
#A8951A #DDC423 #E5D258 #EDE08D #F5EFC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5D258#FFFFFF#000000##000000
##E5D2581.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)
#E4CC4A
Deuteranopia (green-blind)
#EAD45E
Tritanopia (blue-blind)
#F5C4B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e5d258;
/* rgb */ color: rgb(229, 210, 88);
/* oklch */ color: oklch(85.7% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#f0df8c',
    500: '#e5d258',
    950: '#000000',
  },
}
SCSS
$custom: #e5d258;
$custom-light: #f0df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d258",
  "rgb": {
    "r": 229,
    "g": 210,
    "b": 88
  },
  "hsl": {
    "h": 51.915,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8567,
    "c": 0.14221,
    "h": 100.5
  },
  "luminance": 0.63456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5D258

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

Preview Lab → · Contrast checker → · Palette generator →

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