#E4DB7E#E4DB7E

#E4DB7E is a very light, moderate yellow. Relative luminance 0.687; OKLCH L 87.9% C 0.115 H 103.6°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#E4DB7E
RGBrgb(228, 219, 126)
HSLhsl(55, 65%, 69%)
HSVhsv(55, 45%, 89%)
CMYKcmyk(0%, 3.9%, 44.7%, 10.6%)
CIE-LABlab(86.34, -9.60, 46.64)
CIE-LCHlch(86.34, 47.61, 101.64°)
OKLaboklab(87.89% -0.0272 0.1121)
OKLCHoklch(87.89% 0.115 103.6)
XYZxyz(61.0937, 68.6651, 29.7701)
Luminance0.6866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB7E #7E87E4
analogous
#E4A87E #E4DB7E #BAE47E
triadic
#E4DB7E #7EE4DB #DB7EE4
tetradic
#E4DB7E #7EE4A8 #7E87E4 #E47EBA
square
#E4DB7E #7EE4A8 #7E87E4 #E47EBA
split-complementary
#E4DB7E #7EBAE4 #A87EE4
monochromatic
#C0B228 #D9CD4B #E4DB7E #EFE9B1 #F9F7E3

Accessibility & contrast

On white

1.43
#E4DB7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#E4DB7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DB7E
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DB7E#FFFFFF#000000##000000
##E4DB7E1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD576
Deuteranopia (green-blind)
#EDDA82
Tritanopia (blue-blind)
#F1D0C5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4db7e;
/* rgb */ color: rgb(228, 219, 126);
/* oklch */ color: oklch(87.9% 0.115 103.6);
Tailwind
colors: {
  custom: {
    50: '#eee6a5',
    500: '#e4db7e',
    950: '#000000',
  },
}
SCSS
$custom: #e4db7e;
$custom-light: #eee6a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db7e",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 126
  },
  "hsl": {
    "h": 54.706,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87889,
    "c": 0.11538,
    "h": 103.6
  },
  "luminance": 0.68663
}

Semantic roles & 50–950 ramp

primary
#E4DB7E
secondary
#4A54BC
accent
#28CD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DB7E

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

Preview Lab → · Contrast checker → · Palette generator →

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