#E2DA52#E2DA52

#E2DA52 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.154 H 105.9°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#E2DA52
RGBrgb(226, 218, 82)
HSLhsl(57, 71%, 60%)
HSVhsv(57, 64%, 89%)
CMYKcmyk(0%, 3.5%, 63.7%, 11.4%)
CIE-LABlab(85.46, -13.35, 65.49)
CIE-LCHlch(85.46, 66.84, 101.52°)
OKLaboklab(87.01% -0.0424 0.1483)
OKLCHoklch(87.01% 0.154 105.9)
XYZxyz(57.9605, 66.9227, 17.8453)
Luminance0.6692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DA52 #525AE2
analogous
#E29252 #E2DA52 #A2E252
triadic
#E2DA52 #52E2DA #DA52E2
tetradic
#E2DA52 #52E292 #525AE2 #E252A2
square
#E2DA52 #52E292 #525AE2 #E252A2
split-complementary
#E2DA52 #52A2E2 #9252E2
monochromatic
#9F981B #D3CA23 #E2DA52 #EBE586 #F4F0BB

Accessibility & contrast

On white

1.46
#E2DA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#E2DA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DA52
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DA52#FFFFFF#000000##000000
##E2DA521.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD241
Deuteranopia (green-blind)
#EFD85A
Tritanopia (blue-blind)
#F2CCBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2da52;
/* rgb */ color: rgb(226, 218, 82);
/* oklch */ color: oklch(87.0% 0.154 105.9);
Tailwind
colors: {
  custom: {
    50: '#eee589',
    500: '#e2da52',
    950: '#000000',
  },
}
SCSS
$custom: #e2da52;
$custom-light: #eee589;
$custom-dark: #000000;
JSON
{
  "hex": "#e2da52",
  "rgb": {
    "r": 226,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 56.667,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8701,
    "c": 0.15418,
    "h": 105.9
  },
  "luminance": 0.66921
}

Semantic roles & 50–950 ramp

primary
#E2DA52
secondary
#363CA2
accent
#1DD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DA52

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

Preview Lab → · Contrast checker → · Palette generator →

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