#E1D952#E1D952

#E1D952 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.153 H 105.9°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E1D952
RGBrgb(225, 217, 82)
HSLhsl(57, 70%, 60%)
HSVhsv(57, 64%, 88%)
CMYKcmyk(0%, 3.6%, 63.6%, 11.8%)
CIE-LABlab(85.12, -13.26, 65.10)
CIE-LCHlch(85.12, 66.44, 101.51°)
OKLaboklab(86.72% -0.0421 0.1475)
OKLCHoklch(86.72% 0.153 105.9)
XYZxyz(57.3892, 66.2444, 17.7444)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D952 #525AE1
analogous
#E19152 #E1D952 #A2E152
triadic
#E1D952 #52E1D9 #D952E1
tetradic
#E1D952 #52E191 #525AE1 #E152A2
square
#E1D952 #52E191 #525AE1 #E152A2
split-complementary
#E1D952 #52A2E1 #9152E1
monochromatic
#9D961B #D1C824 #E1D952 #EAE486 #F3F0BA

Accessibility & contrast

On white

1.47
#E1D952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#E1D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D952
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D952#FFFFFF#000000##000000
##E1D9521.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD141
Deuteranopia (green-blind)
#EED75A
Tritanopia (blue-blind)
#F1CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e1d952;
/* rgb */ color: rgb(225, 217, 82);
/* oklch */ color: oklch(86.7% 0.153 105.9);
Tailwind
colors: {
  custom: {
    50: '#eee489',
    500: '#e1d952',
    950: '#000000',
  },
}
SCSS
$custom: #e1d952;
$custom-light: #eee489;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d952",
  "rgb": {
    "r": 225,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 56.643,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86717,
    "c": 0.15334,
    "h": 105.9
  },
  "luminance": 0.66242
}

Semantic roles & 50–950 ramp

primary
#E1D952
secondary
#373CA1
accent
#1ED213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1D952

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

Preview Lab → · Contrast checker → · Palette generator →

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