#E1D152#E1D152

#E1D152 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.1% C 0.146 H 102.1°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#E1D152
RGBrgb(225, 209, 82)
HSLhsl(53, 70%, 60%)
HSVhsv(53, 64%, 88%)
CMYKcmyk(0%, 7.1%, 63.6%, 11.8%)
CIE-LABlab(83.03, -9.25, 62.89)
CIE-LCHlch(83.03, 63.57, 98.37°)
OKLaboklab(85.05% -0.0307 0.1428)
OKLCHoklch(85.05% 0.146 102.1)
XYZxyz(55.3770, 62.2199, 17.0737)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D152 #5262E1
analogous
#E18A52 #E1D152 #A9E152
triadic
#E1D152 #52E1D1 #D152E1
tetradic
#E1D152 #52E18A #5262E1 #E152A9
square
#E1D152 #52E18A #5262E1 #E152A9
split-complementary
#E1D152 #52A9E1 #8A52E1
monochromatic
#9D8F1B #D1BE24 #E1D152 #EADF86 #F3EDBA

Accessibility & contrast

On white

1.56
#E1D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#E1D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D152
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D152#FFFFFF#000000##000000
##E1D1521.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#F1C3B6
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e1d152;
/* rgb */ color: rgb(225, 209, 82);
/* oklch */ color: oklch(85.1% 0.146 102.1);
Tailwind
colors: {
  custom: {
    50: '#eede88',
    500: '#e1d152',
    950: '#000000',
  },
}
SCSS
$custom: #e1d152;
$custom-light: #eede88;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d152",
  "rgb": {
    "r": 225,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 53.287,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85054,
    "c": 0.14604,
    "h": 102.1
  },
  "luminance": 0.62218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E1D152

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

Preview Lab → · Contrast checker → · Palette generator →

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