#E4DD7B#E4DD7B

#E4DD7B is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.3% C 0.121 H 105.0°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#E4DD7B
RGBrgb(228, 221, 123)
HSLhsl(56, 66%, 69%)
HSVhsv(56, 46%, 89%)
CMYKcmyk(0%, 3.1%, 46.1%, 10.6%)
CIE-LABlab(86.82, -10.89, 48.68)
CIE-LCHlch(86.82, 49.89, 102.61°)
OKLaboklab(88.26% -0.0312 0.1165)
OKLCHoklch(88.26% 0.121 105)
XYZxyz(61.4279, 69.6386, 28.9408)
Luminance0.6964 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD7B #7B82E4
analogous
#E4A97B #E4DD7B #B7E47B
triadic
#E4DD7B #7BE4DD #DD7BE4
tetradic
#E4DD7B #7BE4A9 #7B82E4 #E47BB7
square
#E4DD7B #7BE4A9 #7B82E4 #E47BB7
split-complementary
#E4DD7B #7BB7E4 #A97BE4
monochromatic
#BEB427 #DAD048 #E4DD7B #EEEAAE #F9F7E1

Accessibility & contrast

On white

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

On black

14.93
#E4DD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD7B
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD7B#FFFFFF#000000##000000
##E4DD7B1.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4dd7b;
/* rgb */ color: rgb(228, 221, 123);
/* oklch */ color: oklch(88.3% 0.121 105.0);
Tailwind
colors: {
  custom: {
    50: '#eee7a3',
    500: '#e4dd7b',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd7b;
$custom-light: #eee7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd7b",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 123
  },
  "hsl": {
    "h": 56,
    "s": 66.038,
    "l": 68.824
  },
  "oklch": {
    "l": 0.88259,
    "c": 0.12058,
    "h": 105
  },
  "luminance": 0.69637
}

Semantic roles & 50–950 ramp

primary
#E4DD7B
secondary
#484FBC
accent
#24CE18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E4DD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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