#E2DE52#E2DE52

#E2DE52 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.8% C 0.158 H 107.7°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#E2DE52
RGBrgb(226, 222, 82)
HSLhsl(58, 71%, 60%)
HSVhsv(58, 64%, 89%)
CMYKcmyk(0%, 1.8%, 63.7%, 11.4%)
CIE-LABlab(86.52, -15.33, 66.59)
CIE-LCHlch(86.52, 68.33, 102.96°)
OKLaboklab(87.85% -0.048 0.1506)
OKLCHoklch(87.85% 0.158 107.7)
XYZxyz(59.0103, 69.0223, 18.1952)
Luminance0.6902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE52 #5256E2
analogous
#E29652 #E2DE52 #9EE252
triadic
#E2DE52 #52E2DE #DE52E2
tetradic
#E2DE52 #52E296 #5256E2 #E2529E
square
#E2DE52 #52E296 #5256E2 #E2529E
split-complementary
#E2DE52 #529EE2 #9652E2
monochromatic
#9F9B1B #D3CE23 #E2DE52 #EBE886 #F4F2BB

Accessibility & contrast

On white

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

On black

14.80
#E2DE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE52
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE52#FFFFFF#000000##000000
##E2DE521.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D640
Deuteranopia (green-blind)
#F2DB5B
Tritanopia (blue-blind)
#F1D0C1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2de52;
/* rgb */ color: rgb(226, 222, 82);
/* oklch */ color: oklch(87.8% 0.158 107.7);
Tailwind
colors: {
  custom: {
    50: '#eee889',
    500: '#e2de52',
    950: '#000000',
  },
}
SCSS
$custom: #e2de52;
$custom-light: #eee889;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de52",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 82
  },
  "hsl": {
    "h": 58.333,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87847,
    "c": 0.15803,
    "h": 107.7
  },
  "luminance": 0.6902
}

Semantic roles & 50–950 ramp

primary
#E2DE52
secondary
#3639A2
accent
#18D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DE52

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

Preview Lab → · Contrast checker → · Palette generator →

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