#E5D156#E5D156

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

Color values

HEX#E5D156
RGBrgb(229, 209, 86)
HSLhsl(52, 73%, 62%)
HSVhsv(52, 62%, 90%)
CMYKcmyk(0%, 8.7%, 62.4%, 10.2%)
CIE-LABlab(83.41, -7.34, 61.71)
CIE-LCHlch(83.41, 62.15, 96.78°)
OKLaboklab(85.45% -0.025 0.1407)
OKLCHoklch(85.45% 0.143 100.1)
XYZxyz(56.7956, 62.9333, 17.9580)
Luminance0.6293 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D156 #566AE5
analogous
#E58A56 #E5D156 #B2E556
triadic
#E5D156 #56E5D1 #D156E5
tetradic
#E5D156 #56E58A #566AE5 #E556B2
square
#E5D156 #56E58A #566AE5 #E556B2
split-complementary
#E5D156 #56B2E5 #8A56E5
monochromatic
#A7931A #DCC222 #E5D156 #EDDF8B #F5EEC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5D156#FFFFFF#000000##000000
##E5D1561.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)
#E3CB48
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#F6C3B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e5d156;
/* rgb */ color: rgb(229, 209, 86);
/* oklch */ color: oklch(85.4% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#f0de8b',
    500: '#e5d156',
    950: '#000000',
  },
}
SCSS
$custom: #e5d156;
$custom-light: #f0de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d156",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 51.608,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85446,
    "c": 0.14295,
    "h": 100.1
  },
  "luminance": 0.62931
}

Semantic roles & 50–950 ramp

primary
#E5D156
secondary
#3646A9
accent
#2CD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D156

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

Preview Lab → · Contrast checker → · Palette generator →

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