#E2DD50#E2DD50

#E2DD50 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.6% C 0.158 H 107.3°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#E2DD50
RGBrgb(226, 221, 80)
HSLhsl(58, 72%, 60%)
HSVhsv(58, 65%, 89%)
CMYKcmyk(0%, 2.2%, 64.6%, 11.4%)
CIE-LABlab(86.24, -14.95, 67.09)
CIE-LCHlch(86.24, 68.74, 102.56°)
OKLaboklab(87.62% -0.0471 0.1513)
OKLCHoklch(87.62% 0.158 107.3)
XYZxyz(58.6705, 68.4627, 17.7120)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD50 #5055E2
analogous
#E29450 #E2DD50 #9EE250
triadic
#E2DD50 #50E2DD #DD50E2
tetradic
#E2DD50 #50E294 #5055E2 #E2509E
square
#E2DD50 #50E294 #5055E2 #E2509E
split-complementary
#E2DD50 #509EE2 #9450E2
monochromatic
#9E991A #D2CC23 #E2DD50 #EBE784 #F3F1B9

Accessibility & contrast

On white

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

On black

14.69
#E2DD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD50
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD50#FFFFFF#000000##000000
##E2DD501.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53D
Deuteranopia (green-blind)
#F1DA59
Tritanopia (blue-blind)
#F2CFC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd50;
/* rgb */ color: rgb(226, 221, 80);
/* oklch */ color: oklch(87.6% 0.158 107.3);
Tailwind
colors: {
  custom: {
    50: '#eee788',
    500: '#e2dd50',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd50;
$custom-light: #eee788;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd50",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 80
  },
  "hsl": {
    "h": 57.945,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.87621,
    "c": 0.15849,
    "h": 107.3
  },
  "luminance": 0.68461
}

Semantic roles & 50–950 ramp

primary
#E2DD50
secondary
#3539A1
accent
#40EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DD50

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

Preview Lab → · Contrast checker → · Palette generator →

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