#E2DD17#E2DD17

#E2DD17 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.3% C 0.185 H 108.0°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#E2DD17
RGBrgb(226, 221, 23)
HSLhsl(59, 82%, 49%)
HSVhsv(59, 90%, 89%)
CMYKcmyk(0%, 2.2%, 89.8%, 11.4%)
CIE-LABlab(85.98, -16.99, 82.95)
CIE-LCHlch(85.98, 84.67, 101.57°)
OKLaboklab(87.33% -0.0571 0.1759)
OKLCHoklch(87.33% 0.185 108)
XYZxyz(57.3776, 67.9456, 10.9029)
Luminance0.6794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD17 #171CE2
analogous
#E27817 #E2DD17 #82E217
triadic
#E2DD17 #17E2DD #DD17E2
tetradic
#E2DD17 #17E278 #171CE2 #E21782
square
#E2DD17 #17E278 #171CE2 #E21782
split-complementary
#E2DD17 #1782E2 #7817E2
monochromatic
#73700C #AAA711 #E2DD17 #EDE94A #F2EF81

Accessibility & contrast

On white

1.44
#E2DD17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.59
#E2DD17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD17
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD17#FFFFFF#000000##000000
##E2DD171.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D400
Deuteranopia (green-blind)
#F3DA31
Tritanopia (blue-blind)
#F3CEBD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dd17;
/* rgb */ color: rgb(226, 221, 23);
/* oklch */ color: oklch(87.3% 0.185 108.0);
Tailwind
colors: {
  custom: {
    50: '#f0e770',
    500: '#e2dd17',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd17;
$custom-light: #f0e770;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd17",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 23
  },
  "hsl": {
    "h": 58.522,
    "s": 81.526,
    "l": 48.824
  },
  "oklch": {
    "l": 0.87333,
    "c": 0.18494,
    "h": 108
  },
  "luminance": 0.67944
}

Semantic roles & 50–950 ramp

primary
#E2DD17
secondary
#22247B
accent
#35F830
background
#FFFEFB
surface
#FFFCF1
border
#D7D5CB
text
#181509
muted
#86847D

Preview Lab

Preview with #E2DD17

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

Preview Lab → · Contrast checker → · Palette generator →

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