#E4DF5A#E4DF5A

#E4DF5A is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.3% C 0.153 H 107.1°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#E4DF5A
RGBrgb(228, 223, 90)
HSLhsl(58, 72%, 62%)
HSVhsv(58, 61%, 89%)
CMYKcmyk(0%, 2.2%, 60.5%, 10.6%)
CIE-LABlab(87.00, -14.51, 63.88)
CIE-LCHlch(87.00, 65.50, 102.79°)
OKLaboklab(88.29% -0.0449 0.1459)
OKLCHoklch(88.29% 0.153 107.1)
XYZxyz(60.2300, 70.0094, 20.0113)
Luminance0.7001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF5A #5A5FE4
analogous
#E49A5A #E4DF5A #A4E45A
triadic
#E4DF5A #5AE4DF #DF5AE4
tetradic
#E4DF5A #5AE49A #5A5FE4 #E45AA4
square
#E4DF5A #5AE49A #5A5FE4 #E45AA4
split-complementary
#E4DF5A #5AA4E4 #9A5AE4
monochromatic
#A8A31C #DBD525 #E4DF5A #EDE98F #F5F3C3

Accessibility & contrast

On white

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

On black

15.00
#E4DF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF5A
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF5A#FFFFFF#000000##000000
##E4DF5A1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4df5a;
/* rgb */ color: rgb(228, 223, 90);
/* oklch */ color: oklch(88.3% 0.153 107.1);
Tailwind
colors: {
  custom: {
    50: '#efe88e',
    500: '#e4df5a',
    950: '#000000',
  },
}
SCSS
$custom: #e4df5a;
$custom-light: #efe88e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df5a",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 57.826,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88294,
    "c": 0.15268,
    "h": 107.1
  },
  "luminance": 0.70008
}

Semantic roles & 50–950 ramp

primary
#E4DF5A
secondary
#383CAA
accent
#19D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4DF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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