#E4DF7E#E4DF7E

#E4DF7E is a very light, moderate yellow. Relative luminance 0.708; OKLCH L 88.7% C 0.120 H 106.0°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#E4DF7E
RGBrgb(228, 223, 126)
HSLhsl(57, 65%, 69%)
HSVhsv(57, 45%, 89%)
CMYKcmyk(0%, 2.2%, 44.7%, 10.6%)
CIE-LABlab(87.38, -11.61, 47.92)
CIE-LCHlch(87.38, 49.30, 103.62°)
OKLaboklab(88.71% -0.0329 0.115)
OKLCHoklch(88.71% 0.12 106)
XYZxyz(62.1498, 70.7773, 30.1221)
Luminance0.7078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF7E #7E83E4
analogous
#E4AC7E #E4DF7E #B6E47E
triadic
#E4DF7E #7EE4DF #DF7EE4
tetradic
#E4DF7E #7EE4AC #7E83E4 #E47EB6
square
#E4DF7E #7EE4AC #7E83E4 #E47EB6
split-complementary
#E4DF7E #7EB6E4 #AC7EE4
monochromatic
#C0B828 #D9D24B #E4DF7E #EFECB1 #F9F8E3

Accessibility & contrast

On white

1.39
#E4DF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#E4DF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF7E
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF7E#FFFFFF#000000##000000
##E4DF7E1.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED876
Deuteranopia (green-blind)
#F0DD82
Tritanopia (blue-blind)
#F1D4C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e4df7e;
/* rgb */ color: rgb(228, 223, 126);
/* oklch */ color: oklch(88.7% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#eee8a5',
    500: '#e4df7e',
    950: '#000000',
  },
}
SCSS
$custom: #e4df7e;
$custom-light: #eee8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df7e",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 126
  },
  "hsl": {
    "h": 57.059,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.88714,
    "c": 0.11962,
    "h": 106
  },
  "luminance": 0.70776
}

Semantic roles & 50–950 ramp

primary
#E4DF7E
secondary
#4A50BC
accent
#21CD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E4DF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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