#E5DF5A#E5DF5A

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

Color values

HEX#E5DF5A
RGBrgb(229, 223, 90)
HSLhsl(57, 73%, 63%)
HSVhsv(57, 61%, 90%)
CMYKcmyk(0%, 2.6%, 60.7%, 10.2%)
CIE-LABlab(87.08, -14.10, 63.99)
CIE-LCHlch(87.08, 65.52, 102.42°)
OKLaboklab(88.38% -0.0438 0.1461)
OKLCHoklch(88.38% 0.153 106.7)
XYZxyz(60.5483, 70.1735, 20.0263)
Luminance0.7017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DF5A #5A60E5
analogous
#E5995A #E5DF5A #A6E55A
triadic
#E5DF5A #5AE5DF #DF5AE5
tetradic
#E5DF5A #5AE599 #5A60E5 #E55AA6
square
#E5DF5A #5AE599 #5A60E5 #E55AA6
split-complementary
#E5DF5A #5AA6E5 #995AE5
monochromatic
#AAA41B #DDD525 #E5DF5A #EDE98F #F6F4C4

Accessibility & contrast

On white

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

On black

15.03
#E5DF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DF5A
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DF5A#FFFFFF#000000##000000
##E5DF5A1.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5df5a;
/* rgb */ color: rgb(229, 223, 90);
/* oklch */ color: oklch(88.4% 0.153 106.7);
Tailwind
colors: {
  custom: {
    50: '#f0e88e',
    500: '#e5df5a',
    950: '#000000',
  },
}
SCSS
$custom: #e5df5a;
$custom-light: #f0e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5df5a",
  "rgb": {
    "r": 229,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 57.41,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88377,
    "c": 0.15256,
    "h": 106.7
  },
  "luminance": 0.70172
}

Semantic roles & 50–950 ramp

primary
#E5DF5A
secondary
#383DAB
accent
#19D511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E5DF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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