#E4DB5B#E4DB5B

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

Color values

HEX#E4DB5B
RGBrgb(228, 219, 91)
HSLhsl(56, 72%, 63%)
HSVhsv(56, 60%, 89%)
CMYKcmyk(0%, 3.9%, 60.1%, 10.6%)
CIE-LABlab(85.96, -12.45, 62.33)
CIE-LCHlch(85.96, 63.56, 101.30°)
OKLaboklab(87.47% -0.039 0.1428)
OKLCHoklch(87.47% 0.148 105.3)
XYZxyz(59.2168, 67.9144, 19.8850)
Luminance0.6791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB5B #5B64E4
analogous
#E4965B #E4DB5B #A9E45B
triadic
#E4DB5B #5BE4DB #DB5BE4
tetradic
#E4DB5B #5BE496 #5B64E4 #E45BA9
square
#E4DB5B #5BE496 #5B64E4 #E45BA9
split-complementary
#E4DB5B #5BA9E4 #965BE4
monochromatic
#A9A01C #DBCF26 #E4DB5B #EDE790 #F5F2C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4DB5B#FFFFFF#000000##000000
##E4DB5B1.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)
#ECD44C
Deuteranopia (green-blind)
#F0DA62
Tritanopia (blue-blind)
#F4CEC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e4db5b;
/* rgb */ color: rgb(228, 219, 91);
/* oklch */ color: oklch(87.5% 0.148 105.3);
Tailwind
colors: {
  custom: {
    50: '#efe58e',
    500: '#e4db5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4db5b;
$custom-light: #efe58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db5b",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 91
  },
  "hsl": {
    "h": 56.058,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8747,
    "c": 0.148,
    "h": 105.3
  },
  "luminance": 0.67912
}

Semantic roles & 50–950 ramp

primary
#E4DB5B
secondary
#3940AB
accent
#1ED412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4DB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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