#E8D052#E8D052

#E8D052 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.5% C 0.145 H 98.4°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#E8D052
RGBrgb(232, 208, 82)
HSLhsl(50, 77%, 62%)
HSVhsv(50, 65%, 91%)
CMYKcmyk(0%, 10.3%, 64.7%, 9%)
CIE-LABlab(83.38, -5.82, 63.44)
CIE-LCHlch(83.38, 63.71, 95.25°)
OKLaboklab(85.48% -0.0213 0.1438)
OKLCHoklch(85.48% 0.145 98.4)
XYZxyz(57.3601, 62.8794, 17.0966)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D052 #526AE8
analogous
#E88552 #E8D052 #B5E852
triadic
#E8D052 #52E8D0 #D052E8
tetradic
#E8D052 #52E885 #526AE8 #E852B5
square
#E8D052 #52E885 #526AE8 #E852B5
split-complementary
#E8D052 #52B5E8 #8552E8
monochromatic
#A99216 #DFC01E #E8D052 #EFDF88 #F6EDBE

Accessibility & contrast

On white

1.55
#E8D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#E8D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D052
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D052#FFFFFF#000000##000000
##E8D0521.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#EAD359
Tritanopia (blue-blind)
#F9C1B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e8d052;
/* rgb */ color: rgb(232, 208, 82);
/* oklch */ color: oklch(85.5% 0.145 98.4);
Tailwind
colors: {
  custom: {
    50: '#f3de88',
    500: '#e8d052',
    950: '#000000',
  },
}
SCSS
$custom: #e8d052;
$custom-light: #f3de88;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d052",
  "rgb": {
    "r": 232,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 50.4,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85475,
    "c": 0.14533,
    "h": 98.4
  },
  "luminance": 0.62877
}

Semantic roles & 50–950 ramp

primary
#E8D052
secondary
#3447AB
accent
#2DD90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D052

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

Preview Lab → · Contrast checker → · Palette generator →

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