#E2DD72#E2DD72

#E2DD72 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.0% C 0.130 H 106.4°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#E2DD72
RGBrgb(226, 221, 114)
HSLhsl(57, 66%, 67%)
HSVhsv(57, 50%, 89%)
CMYKcmyk(0%, 2.2%, 49.6%, 11.4%)
CIE-LABlab(86.55, -12.50, 52.61)
CIE-LCHlch(86.55, 54.07, 103.37°)
OKLaboklab(87.97% -0.0366 0.1244)
OKLCHoklch(87.97% 0.13 106.4)
XYZxyz(60.2593, 69.0982, 26.0793)
Luminance0.6910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD72 #7277E2
analogous
#E2A572 #E2DD72 #AFE272
triadic
#E2DD72 #72E2DD #DD72E2
tetradic
#E2DD72 #72E2A5 #7277E2 #E272AF
square
#E2DD72 #72E2A5 #7277E2 #E272AF
split-complementary
#E2DD72 #72AFE2 #A572E2
monochromatic
#B4AE25 #D8D13F #E2DD72 #ECE9A5 #F7F5D8

Accessibility & contrast

On white

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

On black

14.82
#E2DD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD72
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD72#FFFFFF#000000##000000
##E2DD721.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD668
Deuteranopia (green-blind)
#EFDB77
Tritanopia (blue-blind)
#F0D1C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2dd72;
/* rgb */ color: rgb(226, 221, 114);
/* oklch */ color: oklch(88.0% 0.130 106.4);
Tailwind
colors: {
  custom: {
    50: '#ede79d',
    500: '#e2dd72',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd72;
$custom-light: #ede79d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd72",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 114
  },
  "hsl": {
    "h": 57.321,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.87973,
    "c": 0.12968,
    "h": 106.4
  },
  "luminance": 0.69097
}

Semantic roles & 50–950 ramp

primary
#E2DD72
secondary
#4348B5
accent
#20CE18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2DD72

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

Preview Lab → · Contrast checker → · Palette generator →

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