#E2DF52#E2DF52

#E2DF52 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.1% C 0.159 H 108.1°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#E2DF52
RGBrgb(226, 223, 82)
HSLhsl(59, 71%, 60%)
HSVhsv(59, 64%, 89%)
CMYKcmyk(0%, 1.3%, 63.7%, 11.4%)
CIE-LABlab(86.78, -15.82, 66.86)
CIE-LCHlch(86.78, 68.71, 103.31°)
OKLaboklab(88.06% -0.0494 0.1512)
OKLCHoklch(88.06% 0.159 108.1)
XYZxyz(59.2767, 69.5551, 18.2840)
Luminance0.6955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF52 #5255E2
analogous
#E29752 #E2DF52 #9DE252
triadic
#E2DF52 #52E2DF #DF52E2
tetradic
#E2DF52 #52E297 #5255E2 #E2529D
square
#E2DF52 #52E297 #5255E2 #E2529D
split-complementary
#E2DF52 #529DE2 #9752E2
monochromatic
#9F9C1B #D3D023 #E2DF52 #EBE986 #F4F2BB

Accessibility & contrast

On white

1.41
#E2DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#E2DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF52
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF52#FFFFFF#000000##000000
##E2DF521.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#F3DC5B
Tritanopia (blue-blind)
#F1D1C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2df52;
/* rgb */ color: rgb(226, 223, 82);
/* oklch */ color: oklch(88.1% 0.159 108.1);
Tailwind
colors: {
  custom: {
    50: '#eee889',
    500: '#e2df52',
    950: '#000000',
  },
}
SCSS
$custom: #e2df52;
$custom-light: #eee889;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df52",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 58.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88057,
    "c": 0.15901,
    "h": 108.1
  },
  "luminance": 0.69553
}

Semantic roles & 50–950 ramp

primary
#E2DF52
secondary
#3638A2
accent
#16D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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