#E5D154#E5D154

#E5D154 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.4% C 0.144 H 100.2°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#E5D154
RGBrgb(229, 209, 84)
HSLhsl(52, 74%, 61%)
HSVhsv(52, 63%, 90%)
CMYKcmyk(0%, 8.7%, 63.3%, 10.2%)
CIE-LABlab(83.39, -7.46, 62.54)
CIE-LCHlch(83.39, 62.98, 96.80°)
OKLaboklab(85.43% -0.0256 0.1422)
OKLCHoklch(85.43% 0.145 100.2)
XYZxyz(56.7161, 62.9015, 17.5395)
Luminance0.6290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D154 #5468E5
analogous
#E58954 #E5D154 #B1E554
triadic
#E5D154 #54E5D1 #D154E5
tetradic
#E5D154 #54E589 #5468E5 #E554B1
square
#E5D154 #54E589 #5468E5 #E554B1
split-complementary
#E5D154 #54B1E5 #8954E5
monochromatic
#A59219 #DBC121 #E5D154 #EDDF89 #F5EEBE

Accessibility & contrast

On white

1.55
#E5D154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#E5D154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D154
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D154#FFFFFF#000000##000000
##E5D1541.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB45
Deuteranopia (green-blind)
#E9D35B
Tritanopia (blue-blind)
#F6C3B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e5d154;
/* rgb */ color: rgb(229, 209, 84);
/* oklch */ color: oklch(85.4% 0.144 100.2);
Tailwind
colors: {
  custom: {
    50: '#f0de89',
    500: '#e5d154',
    950: '#000000',
  },
}
SCSS
$custom: #e5d154;
$custom-light: #f0de89;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d154",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 51.724,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85427,
    "c": 0.1445,
    "h": 100.2
  },
  "luminance": 0.62899
}

Semantic roles & 50–950 ramp

primary
#E5D154
secondary
#3645A8
accent
#2BD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D154

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

Preview Lab → · Contrast checker → · Palette generator →

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