#E2DD55#E2DD55

#E2DD55 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.7% C 0.155 H 107.2°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#E2DD55
RGBrgb(226, 221, 85)
HSLhsl(58, 71%, 61%)
HSVhsv(58, 62%, 89%)
CMYKcmyk(0%, 2.2%, 62.4%, 11.4%)
CIE-LABlab(86.28, -14.65, 65.12)
CIE-LCHlch(86.28, 66.75, 102.68°)
OKLaboklab(87.66% -0.0457 0.1479)
OKLCHoklch(87.66% 0.155 107.2)
XYZxyz(58.8622, 68.5394, 18.7214)
Luminance0.6854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD55 #555AE2
analogous
#E29655 #E2DD55 #A0E255
triadic
#E2DD55 #55E2DD #DD55E2
tetradic
#E2DD55 #55E296 #555AE2 #E255A0
square
#E2DD55 #55E296 #555AE2 #E255A0
split-complementary
#E2DD55 #55A0E2 #9655E2
monochromatic
#A19C1B #D5CF24 #E2DD55 #EBE789 #F4F2BE

Accessibility & contrast

On white

1.43
#E2DD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#E2DD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD55
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD55#FFFFFF#000000##000000
##E2DD551.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED544
Deuteranopia (green-blind)
#F1DA5D
Tritanopia (blue-blind)
#F1CFC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd55;
/* rgb */ color: rgb(226, 221, 85);
/* oklch */ color: oklch(87.7% 0.155 107.2);
Tailwind
colors: {
  custom: {
    50: '#eee78b',
    500: '#e2dd55',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd55;
$custom-light: #eee78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd55",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 85
  },
  "hsl": {
    "h": 57.872,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87663,
    "c": 0.15482,
    "h": 107.2
  },
  "luminance": 0.68538
}

Semantic roles & 50–950 ramp

primary
#E2DD55
secondary
#373BA4
accent
#19D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DD55

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

Preview Lab → · Contrast checker → · Palette generator →

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