#E1D252#E1D252

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

Color values

HEX#E1D252
RGBrgb(225, 210, 82)
HSLhsl(54, 70%, 60%)
HSVhsv(54, 64%, 88%)
CMYKcmyk(0%, 6.7%, 63.6%, 11.8%)
CIE-LABlab(83.29, -9.75, 63.17)
CIE-LCHlch(83.29, 63.92, 98.78°)
OKLaboklab(85.26% -0.0321 0.1434)
OKLCHoklch(85.26% 0.147 102.6)
XYZxyz(55.6231, 62.7121, 17.1557)
Luminance0.6271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D252 #5261E1
analogous
#E18A52 #E1D252 #A9E152
triadic
#E1D252 #52E1D2 #D252E1
tetradic
#E1D252 #52E18A #5261E1 #E152A9
square
#E1D252 #52E18A #5261E1 #E152A9
split-complementary
#E1D252 #52A9E1 #8A52E1
monochromatic
#9D901B #D1BF24 #E1D252 #EAE086 #F3EDBA

Accessibility & contrast

On white

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

On black

13.54
#E1D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D252
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D252#FFFFFF#000000##000000
##E1D2521.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e1d252;
/* rgb */ color: rgb(225, 210, 82);
/* oklch */ color: oklch(85.3% 0.147 102.6);
Tailwind
colors: {
  custom: {
    50: '#eedf88',
    500: '#e1d252',
    950: '#000000',
  },
}
SCSS
$custom: #e1d252;
$custom-light: #eedf88;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d252",
  "rgb": {
    "r": 225,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 53.706,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85261,
    "c": 0.14692,
    "h": 102.6
  },
  "luminance": 0.6271
}

Semantic roles & 50–950 ramp

primary
#E1D252
secondary
#3742A1
accent
#27D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1D252

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

Preview Lab → · Contrast checker → · Palette generator →

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