#E5DB51#E5DB51

#E5DB51 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.5% C 0.156 H 105.2°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#E5DB51
RGBrgb(229, 219, 81)
HSLhsl(56, 74%, 61%)
HSVhsv(56, 65%, 90%)
CMYKcmyk(0%, 4.4%, 64.6%, 10.2%)
CIE-LABlab(85.97, -12.66, 66.49)
CIE-LCHlch(85.97, 67.69, 100.78°)
OKLaboklab(87.47% -0.0407 0.1501)
OKLCHoklch(87.47% 0.156 105.2)
XYZxyz(59.1320, 67.9173, 17.7775)
Luminance0.6792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DB51 #515BE5
analogous
#E59151 #E5DB51 #A5E551
triadic
#E5DB51 #51E5DB #DB51E5
tetradic
#E5DB51 #51E591 #515BE5 #E551A5
square
#E5DB51 #51E591 #515BE5 #E551A5
split-complementary
#E5DB51 #51A5E5 #9151E5
monochromatic
#A39A18 #D8CC20 #E5DB51 #EDE686 #F5F1BB

Accessibility & contrast

On white

1.44
#E5DB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#E5DB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DB51
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DB51#FFFFFF#000000##000000
##E5DB511.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33F
Deuteranopia (green-blind)
#F1DA59
Tritanopia (blue-blind)
#F5CDBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e5db51;
/* rgb */ color: rgb(229, 219, 81);
/* oklch */ color: oklch(87.5% 0.156 105.2);
Tailwind
colors: {
  custom: {
    50: '#f1e588',
    500: '#e5db51',
    950: '#000000',
  },
}
SCSS
$custom: #e5db51;
$custom-light: #f1e588;
$custom-dark: #000000;
JSON
{
  "hex": "#e5db51",
  "rgb": {
    "r": 229,
    "g": 219,
    "b": 81
  },
  "hsl": {
    "h": 55.946,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87465,
    "c": 0.15555,
    "h": 105.2
  },
  "luminance": 0.67915
}

Semantic roles & 50–950 ramp

primary
#E5DB51
secondary
#353CA6
accent
#1DD60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5DB51

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

Preview Lab → · Contrast checker → · Palette generator →

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