#E4DF5B#E4DF5B

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

Color values

HEX#E4DF5B
RGBrgb(228, 223, 91)
HSLhsl(58, 72%, 63%)
HSVhsv(58, 60%, 89%)
CMYKcmyk(0%, 2.2%, 60.1%, 10.6%)
CIE-LABlab(87.01, -14.44, 63.47)
CIE-LCHlch(87.01, 65.09, 102.82°)
OKLaboklab(88.3% -0.0446 0.1452)
OKLCHoklch(88.3% 0.152 107.1)
XYZxyz(60.2729, 70.0265, 20.2370)
Luminance0.7003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF5B #5B60E4
analogous
#E49A5B #E4DF5B #A5E45B
triadic
#E4DF5B #5BE4DF #DF5BE4
tetradic
#E4DF5B #5BE49A #5B60E4 #E45BA5
square
#E4DF5B #5BE49A #5B60E4 #E45BA5
split-complementary
#E4DF5B #5BA5E4 #9A5BE4
monochromatic
#A9A41C #DBD526 #E4DF5B #EDE990 #F5F4C4

Accessibility & contrast

On white

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

On black

15.01
#E4DF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF5B
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF5B#FFFFFF#000000##000000
##E4DF5B1.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4df5b;
/* rgb */ color: rgb(228, 223, 91);
/* oklch */ color: oklch(88.3% 0.152 107.1);
Tailwind
colors: {
  custom: {
    50: '#efe88f',
    500: '#e4df5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4df5b;
$custom-light: #efe88f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df5b",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 91
  },
  "hsl": {
    "h": 57.81,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88303,
    "c": 0.15189,
    "h": 107.1
  },
  "luminance": 0.70025
}

Semantic roles & 50–950 ramp

primary
#E4DF5B
secondary
#393DAB
accent
#19D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4DF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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