#E8D452#E8D452

#E8D452 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.149 H 100.5°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#E8D452
RGBrgb(232, 212, 82)
HSLhsl(52, 77%, 62%)
HSVhsv(52, 65%, 91%)
CMYKcmyk(0%, 8.6%, 64.7%, 9%)
CIE-LABlab(84.41, -7.85, 64.53)
CIE-LCHlch(84.41, 65.01, 96.94°)
OKLaboklab(86.29% -0.0271 0.1461)
OKLCHoklch(86.29% 0.149 100.5)
XYZxyz(58.3476, 64.8545, 17.4258)
Luminance0.6485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D452 #5266E8
analogous
#E88952 #E8D452 #B1E852
triadic
#E8D452 #52E8D4 #D452E8
tetradic
#E8D452 #52E889 #5266E8 #E852B1
square
#E8D452 #52E889 #5266E8 #E852B1
split-complementary
#E8D452 #52B1E8 #8952E8
monochromatic
#A99616 #DFC51E #E8D452 #EFE188 #F6EFBE

Accessibility & contrast

On white

1.50
#E8D452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#E8D452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D452
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D452#FFFFFF#000000##000000
##E8D4521.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE42
Deuteranopia (green-blind)
#EDD659
Tritanopia (blue-blind)
#F9C6B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d452;
/* rgb */ color: rgb(232, 212, 82);
/* oklch */ color: oklch(86.3% 0.149 100.5);
Tailwind
colors: {
  custom: {
    50: '#f3e089',
    500: '#e8d452',
    950: '#000000',
  },
}
SCSS
$custom: #e8d452;
$custom-light: #f3e089;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d452",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 52,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86292,
    "c": 0.14855,
    "h": 100.5
  },
  "luminance": 0.64852
}

Semantic roles & 50–950 ramp

primary
#E8D452
secondary
#3443AB
accent
#28D90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D452

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

Preview Lab → · Contrast checker → · Palette generator →

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