#E4DB4E#E4DB4E

#E4DB4E is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.4% C 0.158 H 105.7°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#E4DB4E
RGBrgb(228, 219, 78)
HSLhsl(56, 74%, 60%)
HSVhsv(56, 66%, 89%)
CMYKcmyk(0%, 3.9%, 65.8%, 10.6%)
CIE-LABlab(85.86, -13.25, 67.54)
CIE-LCHlch(85.86, 68.83, 101.10°)
OKLaboklab(87.36% -0.0426 0.1519)
OKLCHoklch(87.36% 0.158 105.7)
XYZxyz(58.7038, 67.7092, 17.1832)
Luminance0.6771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB4E #4E57E4
analogous
#E4904E #E4DB4E #A2E44E
triadic
#E4DB4E #4EE4DB #DB4EE4
tetradic
#E4DB4E #4EE490 #4E57E4 #E44EA2
square
#E4DB4E #4EE490 #4E57E4 #E44EA2
split-complementary
#E4DB4E #4EA2E4 #904EE4
monochromatic
#9F9718 #D4CA20 #E4DB4E #ECE683 #F4F1B8

Accessibility & contrast

On white

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

On black

14.54
#E4DB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DB4E
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DB4E#FFFFFF#000000##000000
##E4DB4E1.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33B
Deuteranopia (green-blind)
#F1D957
Tritanopia (blue-blind)
#F4CDBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e4db4e;
/* rgb */ color: rgb(228, 219, 78);
/* oklch */ color: oklch(87.4% 0.158 105.7);
Tailwind
colors: {
  custom: {
    50: '#f0e587',
    500: '#e4db4e',
    950: '#000000',
  },
}
SCSS
$custom: #e4db4e;
$custom-light: #f0e587;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db4e",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 78
  },
  "hsl": {
    "h": 56.4,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.87356,
    "c": 0.15778,
    "h": 105.7
  },
  "luminance": 0.67707
}

Semantic roles & 50–950 ramp

primary
#E4DB4E
secondary
#343BA2
accent
#43F038
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4DB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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