#E5D956#E5D956

#E5D956 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.1% C 0.150 H 104.1°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E5D956
RGBrgb(229, 217, 86)
HSLhsl(55, 73%, 62%)
HSVhsv(55, 62%, 90%)
CMYKcmyk(0%, 5.2%, 62.4%, 10.2%)
CIE-LABlab(85.48, -11.37, 63.94)
CIE-LCHlch(85.48, 64.94, 100.08°)
OKLaboklab(87.09% -0.0365 0.1455)
OKLCHoklch(87.09% 0.15 104.1)
XYZxyz(58.8078, 66.9578, 18.6287)
Luminance0.6696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D956 #5662E5
analogous
#E59256 #E5D956 #AAE556
triadic
#E5D956 #56E5D9 #D956E5
tetradic
#E5D956 #56E592 #5662E5 #E556AA
square
#E5D956 #56E592 #5662E5 #E556AA
split-complementary
#E5D956 #56AAE5 #9256E5
monochromatic
#A79B1A #DCCC22 #E5D956 #EDE58B #F5F1C0

Accessibility & contrast

On white

1.46
#E5D956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#E5D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D956
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D956#FFFFFF#000000##000000
##E5D9561.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD246
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#F5CBBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d956;
/* rgb */ color: rgb(229, 217, 86);
/* oklch */ color: oklch(87.1% 0.150 104.1);
Tailwind
colors: {
  custom: {
    50: '#f0e48b',
    500: '#e5d956',
    950: '#000000',
  },
}
SCSS
$custom: #e5d956;
$custom-light: #f0e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d956",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 54.965,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87094,
    "c": 0.14999,
    "h": 104.1
  },
  "luminance": 0.66956
}

Semantic roles & 50–950 ramp

primary
#E5D956
secondary
#3640A9
accent
#21D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D956

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

Preview Lab → · Contrast checker → · Palette generator →

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