#E5DF5B#E5DF5B

#E5DF5B is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.4% C 0.152 H 106.7°. Best body text is #000000 at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#E5DF5B
RGBrgb(229, 223, 91)
HSLhsl(57, 73%, 63%)
HSVhsv(57, 60%, 90%)
CMYKcmyk(0%, 2.6%, 60.3%, 10.2%)
CIE-LABlab(87.09, -14.03, 63.58)
CIE-LCHlch(87.09, 65.11, 102.45°)
OKLaboklab(88.39% -0.0435 0.1454)
OKLCHoklch(88.39% 0.152 106.7)
XYZxyz(60.5911, 70.1906, 20.2519)
Luminance0.7019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DF5B #5B61E5
analogous
#E59A5B #E5DF5B #A6E55B
triadic
#E5DF5B #5BE5DF #DF5BE5
tetradic
#E5DF5B #5BE59A #5B61E5 #E55BA6
square
#E5DF5B #5BE59A #5B61E5 #E55BA6
split-complementary
#E5DF5B #5BA6E5 #9A5BE5
monochromatic
#ABA41B #DDD526 #E5DF5B #EDE990 #F6F4C5

Accessibility & contrast

On white

1.40
#E5DF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.04
#E5DF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DF5B
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DF5B#FFFFFF#000000##000000
##E5DF5B1.001.4015.0415.04
#FFFFFF1.401.0021.0021.00
#00000015.0421.001.001.00
##00000015.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74C
Deuteranopia (green-blind)
#F3DD63
Tritanopia (blue-blind)
#F4D1C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e5df5b;
/* rgb */ color: rgb(229, 223, 91);
/* oklch */ color: oklch(88.4% 0.152 106.7);
Tailwind
colors: {
  custom: {
    50: '#f0e88f',
    500: '#e5df5b',
    950: '#000000',
  },
}
SCSS
$custom: #e5df5b;
$custom-light: #f0e88f;
$custom-dark: #000000;
JSON
{
  "hex": "#e5df5b",
  "rgb": {
    "r": 229,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 57.391,
    "s": 72.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88387,
    "c": 0.15177,
    "h": 106.7
  },
  "luminance": 0.70189
}

Semantic roles & 50–950 ramp

primary
#E5DF5B
secondary
#383DAC
accent
#19D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E5DF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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