#E8D152#E8D152

#E8D152 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.146 H 99.0°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#E8D152
RGBrgb(232, 209, 82)
HSLhsl(51, 77%, 62%)
HSVhsv(51, 65%, 91%)
CMYKcmyk(0%, 9.9%, 64.7%, 9%)
CIE-LABlab(83.64, -6.33, 63.72)
CIE-LCHlch(83.64, 64.03, 95.68°)
OKLaboklab(85.68% -0.0228 0.1443)
OKLCHoklch(85.68% 0.146 99)
XYZxyz(57.6047, 63.3686, 17.1781)
Luminance0.6337 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D152 #5269E8
analogous
#E88652 #E8D152 #B4E852
triadic
#E8D152 #52E8D1 #D152E8
tetradic
#E8D152 #52E886 #5269E8 #E852B4
square
#E8D152 #52E886 #5269E8 #E852B4
split-complementary
#E8D152 #52B4E8 #8652E8
monochromatic
#A99316 #DFC11E #E8D152 #EFDF88 #F6EEBE

Accessibility & contrast

On white

1.54
#E8D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#E8D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D152
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D152#FFFFFF#000000##000000
##E8D1521.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#EAD459
Tritanopia (blue-blind)
#F9C3B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e8d152;
/* rgb */ color: rgb(232, 209, 82);
/* oklch */ color: oklch(85.7% 0.146 99.0);
Tailwind
colors: {
  custom: {
    50: '#f3de88',
    500: '#e8d152',
    950: '#000000',
  },
}
SCSS
$custom: #e8d152;
$custom-light: #f3de88;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d152",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 50.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85679,
    "c": 0.14612,
    "h": 99
  },
  "luminance": 0.63366
}

Semantic roles & 50–950 ramp

primary
#E8D152
secondary
#3446AB
accent
#2CD90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D152

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

Preview Lab → · Contrast checker → · Palette generator →

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