#E2D152#E2D152

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

Color values

HEX#E2D152
RGBrgb(226, 209, 82)
HSLhsl(53, 71%, 60%)
HSVhsv(53, 64%, 89%)
CMYKcmyk(0%, 7.5%, 63.7%, 11.4%)
CIE-LABlab(83.12, -8.83, 63.01)
CIE-LCHlch(83.12, 63.62, 97.98°)
OKLaboklab(85.14% -0.0295 0.143)
OKLCHoklch(85.14% 0.146 101.7)
XYZxyz(55.6897, 62.3812, 17.0883)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D152 #5263E2
analogous
#E28952 #E2D152 #ABE252
triadic
#E2D152 #52E2D1 #D152E2
tetradic
#E2D152 #52E289 #5263E2 #E252AB
square
#E2D152 #52E289 #5263E2 #E252AB
split-complementary
#E2D152 #52ABE2 #8952E2
monochromatic
#9F8F1B #D3BF23 #E2D152 #EBDF86 #F4EDBB

Accessibility & contrast

On white

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

On black

13.48
#E2D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D152
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D152#FFFFFF#000000##000000
##E2D1521.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d152;
/* rgb */ color: rgb(226, 209, 82);
/* oklch */ color: oklch(85.1% 0.146 101.7);
Tailwind
colors: {
  custom: {
    50: '#eede88',
    500: '#e2d152',
    950: '#000000',
  },
}
SCSS
$custom: #e2d152;
$custom-light: #eede88;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d152",
  "rgb": {
    "r": 226,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 52.917,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85142,
    "c": 0.14602,
    "h": 101.7
  },
  "luminance": 0.62379
}

Semantic roles & 50–950 ramp

primary
#E2D152
secondary
#3643A2
accent
#29D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D152

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

Preview Lab → · Contrast checker → · Palette generator →

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