#E4DC71#E4DC71

#E4DC71 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.9% C 0.129 H 104.9°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#E4DC71
RGBrgb(228, 220, 113)
HSLhsl(56, 68%, 67%)
HSVhsv(56, 50%, 89%)
CMYKcmyk(0%, 3.5%, 50.4%, 10.6%)
CIE-LABlab(86.44, -11.29, 52.99)
CIE-LCHlch(86.44, 54.18, 102.03°)
OKLaboklab(87.92% -0.0333 0.1251)
OKLCHoklch(87.92% 0.129 104.9)
XYZxyz(60.5704, 68.8745, 25.7230)
Luminance0.6887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC71 #7179E4
analogous
#E4A371 #E4DC71 #B3E471
triadic
#E4DC71 #71E4DC #DC71E4
tetradic
#E4DC71 #71E4A3 #7179E4 #E471B3
square
#E4DC71 #71E4A3 #7179E4 #E471B3
split-complementary
#E4DC71 #71B3E4 #A371E4
monochromatic
#B8AD23 #DACF3E #E4DC71 #EEE9A4 #F8F5D8

Accessibility & contrast

On white

1.42
#E4DC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#E4DC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC71
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC71#FFFFFF#000000##000000
##E4DC711.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD567
Deuteranopia (green-blind)
#EFDB76
Tritanopia (blue-blind)
#F2D0C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc71;
/* rgb */ color: rgb(228, 220, 113);
/* oklch */ color: oklch(87.9% 0.129 104.9);
Tailwind
colors: {
  custom: {
    50: '#efe69c',
    500: '#e4dc71',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc71;
$custom-light: #efe69c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc71",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 113
  },
  "hsl": {
    "h": 55.826,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87921,
    "c": 0.12948,
    "h": 104.9
  },
  "luminance": 0.68873
}

Semantic roles & 50–950 ramp

primary
#E4DC71
secondary
#414AB8
accent
#22D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4DC71

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

Preview Lab → · Contrast checker → · Palette generator →

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