#E8D252#E8D252

#E8D252 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.9% C 0.147 H 99.5°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#E8D252
RGBrgb(232, 210, 82)
HSLhsl(51, 77%, 62%)
HSVhsv(51, 65%, 91%)
CMYKcmyk(0%, 9.5%, 64.7%, 9%)
CIE-LABlab(83.89, -6.84, 63.99)
CIE-LCHlch(83.89, 64.35, 96.10°)
OKLaboklab(85.88% -0.0242 0.1449)
OKLCHoklch(85.88% 0.147 99.5)
XYZxyz(57.8508, 63.8608, 17.2601)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D252 #5268E8
analogous
#E88752 #E8D252 #B3E852
triadic
#E8D252 #52E8D2 #D252E8
tetradic
#E8D252 #52E887 #5268E8 #E852B3
square
#E8D252 #52E887 #5268E8 #E852B3
split-complementary
#E8D252 #52B3E8 #8752E8
monochromatic
#A99416 #DFC31E #E8D252 #EFE088 #F6EEBE

Accessibility & contrast

On white

1.52
#E8D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#E8D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D252
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D252#FFFFFF#000000##000000
##E8D2521.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD42
Deuteranopia (green-blind)
#EBD559
Tritanopia (blue-blind)
#F9C4B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e8d252;
/* rgb */ color: rgb(232, 210, 82);
/* oklch */ color: oklch(85.9% 0.147 99.5);
Tailwind
colors: {
  custom: {
    50: '#f3df88',
    500: '#e8d252',
    950: '#000000',
  },
}
SCSS
$custom: #e8d252;
$custom-light: #f3df88;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d252",
  "rgb": {
    "r": 232,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 51.2,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85883,
    "c": 0.14692,
    "h": 99.5
  },
  "luminance": 0.63858
}

Semantic roles & 50–950 ramp

primary
#E8D252
secondary
#3445AB
accent
#2BD90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D252

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

Preview Lab → · Contrast checker → · Palette generator →

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