#E4DD72#E4DD72

#E4DD72 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.1% C 0.130 H 105.4°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#E4DD72
RGBrgb(228, 221, 114)
HSLhsl(56, 68%, 67%)
HSVhsv(56, 50%, 89%)
CMYKcmyk(0%, 3.1%, 50%, 10.6%)
CIE-LABlab(86.71, -11.70, 52.84)
CIE-LCHlch(86.71, 54.12, 102.49°)
OKLaboklab(88.14% -0.0344 0.1249)
OKLCHoklch(88.14% 0.13 105.4)
XYZxyz(60.8902, 69.4236, 26.1089)
Luminance0.6942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD72 #7279E4
analogous
#E4A472 #E4DD72 #B2E472
triadic
#E4DD72 #72E4DD #DD72E4
tetradic
#E4DD72 #72E4A4 #7279E4 #E472B2
square
#E4DD72 #72E4A4 #7279E4 #E472B2
split-complementary
#E4DD72 #72B2E4 #A472E4
monochromatic
#B8AF23 #DAD13F #E4DD72 #EEE9A5 #F8F6D9

Accessibility & contrast

On white

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

On black

14.88
#E4DD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD72
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD72#FFFFFF#000000##000000
##E4DD721.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD668
Deuteranopia (green-blind)
#F0DB77
Tritanopia (blue-blind)
#F2D1C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4dd72;
/* rgb */ color: rgb(228, 221, 114);
/* oklch */ color: oklch(88.1% 0.130 105.4);
Tailwind
colors: {
  custom: {
    50: '#efe79d',
    500: '#e4dd72',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd72;
$custom-light: #efe79d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd72",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 114
  },
  "hsl": {
    "h": 56.316,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8814,
    "c": 0.12955,
    "h": 105.4
  },
  "luminance": 0.69422
}

Semantic roles & 50–950 ramp

primary
#E4DD72
secondary
#4249B9
accent
#21D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E4DD72

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

Preview Lab → · Contrast checker → · Palette generator →

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