#E4DD7E#E4DD7E

#E4DD7E is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.3% C 0.117 H 104.8°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#E4DD7E
RGBrgb(228, 221, 126)
HSLhsl(56, 65%, 69%)
HSVhsv(56, 45%, 89%)
CMYKcmyk(0%, 3.1%, 44.7%, 10.6%)
CIE-LABlab(86.86, -10.61, 47.28)
CIE-LCHlch(86.86, 48.45, 102.65°)
OKLaboklab(88.3% -0.0301 0.1136)
OKLCHoklch(88.3% 0.117 104.8)
XYZxyz(61.6186, 69.7149, 29.9451)
Luminance0.6971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD7E #7E85E4
analogous
#E4AA7E #E4DD7E #B8E47E
triadic
#E4DD7E #7EE4DD #DD7EE4
tetradic
#E4DD7E #7EE4AA #7E85E4 #E47EB8
square
#E4DD7E #7EE4AA #7E85E4 #E47EB8
split-complementary
#E4DD7E #7EB8E4 #AA7EE4
monochromatic
#C0B528 #D9D04B #E4DD7E #EFEAB1 #F9F8E3

Accessibility & contrast

On white

1.41
#E4DD7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#E4DD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD7E
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD7E#FFFFFF#000000##000000
##E4DD7E1.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD776
Deuteranopia (green-blind)
#EFDC82
Tritanopia (blue-blind)
#F1D2C6
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4dd7e;
/* rgb */ color: rgb(228, 221, 126);
/* oklch */ color: oklch(88.3% 0.117 104.8);
Tailwind
colors: {
  custom: {
    50: '#eee7a5',
    500: '#e4dd7e',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd7e;
$custom-light: #eee7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd7e",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 126
  },
  "hsl": {
    "h": 55.882,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88301,
    "c": 0.11748,
    "h": 104.8
  },
  "luminance": 0.69713
}

Semantic roles & 50–950 ramp

primary
#E4DD7E
secondary
#4A52BC
accent
#25CD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E4DD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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