#E5D157#E5D157

#E5D157 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.5% C 0.142 H 100.0°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#E5D157
RGBrgb(229, 209, 87)
HSLhsl(52, 73%, 62%)
HSVhsv(52, 62%, 90%)
CMYKcmyk(0%, 8.7%, 62%, 10.2%)
CIE-LABlab(83.42, -7.27, 61.29)
CIE-LCHlch(83.42, 61.72, 96.77°)
OKLaboklab(85.46% -0.0247 0.14)
OKLCHoklch(85.46% 0.142 100)
XYZxyz(56.8362, 62.9495, 18.1716)
Luminance0.6295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D157 #576BE5
analogous
#E58A57 #E5D157 #B2E557
triadic
#E5D157 #57E5D1 #D157E5
tetradic
#E5D157 #57E58A #576BE5 #E557B2
square
#E5D157 #57E58A #576BE5 #E557B2
split-complementary
#E5D157 #57B2E5 #8A57E5
monochromatic
#A8941A #DDC222 #E5D157 #EDE08C #F5EEC1

Accessibility & contrast

On white

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

On black

13.59
#E5D157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D157
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D157#FFFFFF#000000##000000
##E5D1571.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5d157;
/* rgb */ color: rgb(229, 209, 87);
/* oklch */ color: oklch(85.5% 0.142 100.0);
Tailwind
colors: {
  custom: {
    50: '#f0de8b',
    500: '#e5d157',
    950: '#000000',
  },
}
SCSS
$custom: #e5d157;
$custom-light: #f0de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d157",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 51.549,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85455,
    "c": 0.14216,
    "h": 100
  },
  "luminance": 0.62947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E5D157

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

Preview Lab → · Contrast checker → · Palette generator →

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