#E4DB5F#E4DB5F

#E4DB5F is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.5% C 0.145 H 105.1°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#E4DB5F
RGBrgb(228, 219, 95)
HSLhsl(56, 71%, 63%)
HSVhsv(56, 58%, 89%)
CMYKcmyk(0%, 3.9%, 58.3%, 10.6%)
CIE-LABlab(86.00, -12.18, 60.64)
CIE-LCHlch(86.00, 61.85, 101.36°)
OKLaboklab(87.51% -0.0378 0.1397)
OKLCHoklch(87.51% 0.145 105.1)
XYZxyz(59.3940, 67.9852, 20.8181)
Luminance0.6798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB5F #5F68E4
analogous
#E4985F #E4DB5F #AAE45F
triadic
#E4DB5F #5FE4DB #DB5FE4
tetradic
#E4DB5F #5FE498 #5F68E4 #E45FAA
square
#E4DB5F #5FE498 #5F68E4 #E45FAA
split-complementary
#E4DB5F #5FAAE4 #985FE4
monochromatic
#ACA21D #DBCF2B #E4DB5F #EDE793 #F6F3C8

Accessibility & contrast

On white

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

On black

14.60
#E4DB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DB5F
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DB5F#FFFFFF#000000##000000
##E4DB5F1.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD451
Deuteranopia (green-blind)
#F0DA66
Tritanopia (blue-blind)
#F3CEC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e4db5f;
/* rgb */ color: rgb(228, 219, 95);
/* oklch */ color: oklch(87.5% 0.145 105.1);
Tailwind
colors: {
  custom: {
    50: '#efe591',
    500: '#e4db5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4db5f;
$custom-light: #efe591;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db5f",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 95
  },
  "hsl": {
    "h": 55.94,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.8751,
    "c": 0.14472,
    "h": 105.1
  },
  "luminance": 0.67983
}

Semantic roles & 50–950 ramp

primary
#E4DB5F
secondary
#3A42AD
accent
#1FD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4DB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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