#E2DD71#E2DD71

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

Color values

HEX#E2DD71
RGBrgb(226, 221, 113)
HSLhsl(57, 66%, 66%)
HSVhsv(57, 50%, 89%)
CMYKcmyk(0%, 2.2%, 50%, 11.4%)
CIE-LABlab(86.54, -12.59, 53.06)
CIE-LCHlch(86.54, 54.54, 103.35°)
OKLaboklab(87.96% -0.0369 0.1253)
OKLCHoklch(87.96% 0.131 106.4)
XYZxyz(60.2026, 69.0756, 25.7812)
Luminance0.6907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD71 #7176E2
analogous
#E2A571 #E2DD71 #AFE271
triadic
#E2DD71 #71E2DD #DD71E2
tetradic
#E2DD71 #71E2A5 #7176E2 #E271AF
square
#E2DD71 #71E2A5 #7176E2 #E271AF
split-complementary
#E2DD71 #71AFE2 #A571E2
monochromatic
#B4AE25 #D8D13E #E2DD71 #ECE9A4 #F7F5D7

Accessibility & contrast

On white

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

On black

14.81
#E2DD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD71
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD71#FFFFFF#000000##000000
##E2DD711.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2dd71;
/* rgb */ color: rgb(226, 221, 113);
/* oklch */ color: oklch(88.0% 0.131 106.4);
Tailwind
colors: {
  custom: {
    50: '#ede79c',
    500: '#e2dd71',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd71;
$custom-light: #ede79c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd71",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 113
  },
  "hsl": {
    "h": 57.345,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87961,
    "c": 0.13065,
    "h": 106.4
  },
  "luminance": 0.69074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2DD71

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

Preview Lab → · Contrast checker → · Palette generator →

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