#E2D252#E2D252

#E2D252 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.3% C 0.147 H 102.2°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#E2D252
RGBrgb(226, 210, 82)
HSLhsl(53, 71%, 60%)
HSVhsv(53, 64%, 89%)
CMYKcmyk(0%, 7.1%, 63.7%, 11.4%)
CIE-LABlab(83.38, -9.34, 63.28)
CIE-LCHlch(83.38, 63.97, 98.39°)
OKLaboklab(85.35% -0.031 0.1436)
OKLCHoklch(85.35% 0.147 102.2)
XYZxyz(55.9358, 62.8734, 17.1704)
Luminance0.6287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D252 #5262E2
analogous
#E28A52 #E2D252 #AAE252
triadic
#E2D252 #52E2D2 #D252E2
tetradic
#E2D252 #52E28A #5262E2 #E252AA
square
#E2D252 #52E28A #5262E2 #E252AA
split-complementary
#E2D252 #52AAE2 #8A52E2
monochromatic
#9F901B #D3C023 #E2D252 #EBE086 #F4EDBB

Accessibility & contrast

On white

1.55
#E2D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#E2D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D252
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D252#FFFFFF#000000##000000
##E2D2521.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#F2C4B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e2d252;
/* rgb */ color: rgb(226, 210, 82);
/* oklch */ color: oklch(85.3% 0.147 102.2);
Tailwind
colors: {
  custom: {
    50: '#eedf88',
    500: '#e2d252',
    950: '#000000',
  },
}
SCSS
$custom: #e2d252;
$custom-light: #eedf88;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d252",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 53.333,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85349,
    "c": 0.14688,
    "h": 102.2
  },
  "luminance": 0.62871
}

Semantic roles & 50–950 ramp

primary
#E2D252
secondary
#3642A2
accent
#28D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D252

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

Preview Lab → · Contrast checker → · Palette generator →

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