#E4DB4F#E4DB4F

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

Color values

HEX#E4DB4F
RGBrgb(228, 219, 79)
HSLhsl(56, 73%, 60%)
HSVhsv(56, 65%, 89%)
CMYKcmyk(0%, 3.9%, 65.4%, 10.6%)
CIE-LABlab(85.87, -13.19, 67.16)
CIE-LCHlch(85.87, 68.44, 101.11°)
OKLaboklab(87.36% -0.0424 0.1513)
OKLCHoklch(87.36% 0.157 105.6)
XYZxyz(58.7399, 67.7236, 17.3734)
Luminance0.6772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB4F #4F58E4
analogous
#E4914F #E4DB4F #A2E44F
triadic
#E4DB4F #4FE4DB #DB4FE4
tetradic
#E4DB4F #4FE491 #4F58E4 #E44FA2
square
#E4DB4F #4FE491 #4F58E4 #E44FA2
split-complementary
#E4DB4F #4FA2E4 #914FE4
monochromatic
#A09819 #D5CA21 #E4DB4F #ECE684 #F4F1B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4DB4F#FFFFFF#000000##000000
##E4DB4F1.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)
#EDD33C
Deuteranopia (green-blind)
#F1D958
Tritanopia (blue-blind)
#F4CDBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e4db4f;
/* rgb */ color: rgb(228, 219, 79);
/* oklch */ color: oklch(87.4% 0.157 105.6);
Tailwind
colors: {
  custom: {
    50: '#f0e587',
    500: '#e4db4f',
    950: '#000000',
  },
}
SCSS
$custom: #e4db4f;
$custom-light: #f0e587;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db4f",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 79
  },
  "hsl": {
    "h": 56.376,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87364,
    "c": 0.15708,
    "h": 105.6
  },
  "luminance": 0.67722
}

Semantic roles & 50–950 ramp

primary
#E4DB4F
secondary
#343BA3
accent
#1CD610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4DB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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