#E2DD51#E2DD51

#E2DD51 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.70:1 contrast (WCAG AA passes).

Color values

HEX#E2DD51
RGBrgb(226, 221, 81)
HSLhsl(58, 71%, 60%)
HSVhsv(58, 64%, 89%)
CMYKcmyk(0%, 2.2%, 64.2%, 11.4%)
CIE-LABlab(86.24, -14.89, 66.71)
CIE-LCHlch(86.24, 68.35, 102.59°)
OKLaboklab(87.63% -0.0468 0.1507)
OKLCHoklch(87.63% 0.158 107.3)
XYZxyz(58.7077, 68.4776, 17.9080)
Luminance0.6848 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD51 #5156E2
analogous
#E29451 #E2DD51 #9EE251
triadic
#E2DD51 #51E2DD #DD51E2
tetradic
#E2DD51 #51E294 #5156E2 #E2519E
square
#E2DD51 #51E294 #5156E2 #E2519E
split-complementary
#E2DD51 #519EE2 #9451E2
monochromatic
#9E9A1A #D3CD23 #E2DD51 #EBE785 #F3F2BA

Accessibility & contrast

On white

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

On black

14.70
#E2DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD51
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD51#FFFFFF#000000##000000
##E2DD511.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2dd51;
/* rgb */ color: rgb(226, 221, 81);
/* oklch */ color: oklch(87.6% 0.158 107.3);
Tailwind
colors: {
  custom: {
    50: '#eee789',
    500: '#e2dd51',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd51;
$custom-light: #eee789;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd51",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 57.931,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87629,
    "c": 0.15778,
    "h": 107.3
  },
  "luminance": 0.68476
}

Semantic roles & 50–950 ramp

primary
#E2DD51
secondary
#363AA1
accent
#19D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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