#E4DB5A#E4DB5A

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

Color values

HEX#E4DB5A
RGBrgb(228, 219, 90)
HSLhsl(56, 72%, 62%)
HSVhsv(56, 61%, 89%)
CMYKcmyk(0%, 3.9%, 60.5%, 10.6%)
CIE-LABlab(85.95, -12.52, 62.74)
CIE-LCHlch(85.95, 63.98, 101.29°)
OKLaboklab(87.46% -0.0393 0.1435)
OKLCHoklch(87.46% 0.149 105.3)
XYZxyz(59.1739, 67.8972, 19.6593)
Luminance0.6790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB5A #5A63E4
analogous
#E4965A #E4DB5A #A8E45A
triadic
#E4DB5A #5AE4DB #DB5AE4
tetradic
#E4DB5A #5AE496 #5A63E4 #E45AA8
square
#E4DB5A #5AE496 #5A63E4 #E45AA8
split-complementary
#E4DB5A #5AA8E4 #965AE4
monochromatic
#A89F1C #DBD025 #E4DB5A #EDE68F #F5F2C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4DB5A#FFFFFF#000000##000000
##E4DB5A1.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)
#ECD44B
Deuteranopia (green-blind)
#F0DA61
Tritanopia (blue-blind)
#F4CDC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e4db5a;
/* rgb */ color: rgb(228, 219, 90);
/* oklch */ color: oklch(87.5% 0.149 105.3);
Tailwind
colors: {
  custom: {
    50: '#efe58e',
    500: '#e4db5a',
    950: '#000000',
  },
}
SCSS
$custom: #e4db5a;
$custom-light: #efe58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db5a",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 90
  },
  "hsl": {
    "h": 56.087,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87461,
    "c": 0.1488,
    "h": 105.3
  },
  "luminance": 0.67895
}

Semantic roles & 50–950 ramp

primary
#E4DB5A
secondary
#3840AA
accent
#1ED412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4DB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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