#E8D472#E8D472

#E8D472 is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.121 H 98.0°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#E8D472
RGBrgb(232, 212, 114)
HSLhsl(50, 72%, 68%)
HSVhsv(50, 51%, 91%)
CMYKcmyk(0%, 8.6%, 50.9%, 9%)
CIE-LABlab(84.72, -5.55, 50.54)
CIE-LCHlch(84.72, 50.84, 96.27°)
OKLaboklab(86.64% -0.0169 0.1198)
OKLCHoklch(86.64% 0.121 98)
XYZxyz(59.8614, 65.4600, 25.3982)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D472 #7286E8
analogous
#E89972 #E8D472 #C1E872
triadic
#E8D472 #72E8D4 #D472E8
tetradic
#E8D472 #72E899 #7286E8 #E872C1
square
#E8D472 #72E899 #7286E8 #E872C1
split-complementary
#E8D472 #72C1E8 #9972E8
monochromatic
#C0A51F #DFC43D #E8D472 #F1E4A7 #F9F4DB

Accessibility & contrast

On white

1.49
#E8D472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#E8D472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D472
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D472#FFFFFF#000000##000000
##E8D4721.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF69
Deuteranopia (green-blind)
#EAD776
Tritanopia (blue-blind)
#F7C8BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d472;
/* rgb */ color: rgb(232, 212, 114);
/* oklch */ color: oklch(86.6% 0.121 98.0);
Tailwind
colors: {
  custom: {
    50: '#f1e19d',
    500: '#e8d472',
    950: '#000000',
  },
}
SCSS
$custom: #e8d472;
$custom-light: #f1e19d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d472",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 114
  },
  "hsl": {
    "h": 49.831,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.86639,
    "c": 0.12099,
    "h": 98
  },
  "luminance": 0.65458
}

Semantic roles & 50–950 ramp

primary
#E8D472
secondary
#3F55BF
accent
#32D411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D472

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

Preview Lab → · Contrast checker → · Palette generator →

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