#E8D470#E8D470

#E8D470 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.6% C 0.123 H 98.2°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#E8D470
RGBrgb(232, 212, 112)
HSLhsl(50, 72%, 67%)
HSVhsv(50, 52%, 91%)
CMYKcmyk(0%, 8.6%, 51.7%, 9%)
CIE-LABlab(84.70, -5.72, 51.47)
CIE-LCHlch(84.70, 51.78, 96.34°)
OKLaboklab(86.61% -0.0176 0.1217)
OKLCHoklch(86.61% 0.123 98.2)
XYZxyz(59.7488, 65.4150, 24.8052)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D470 #7084E8
analogous
#E89870 #E8D470 #C0E870
triadic
#E8D470 #70E8D4 #D470E8
tetradic
#E8D470 #70E898 #7084E8 #E870C0
square
#E8D470 #70E898 #7084E8 #E870C0
split-complementary
#E8D470 #70C0E8 #9870E8
monochromatic
#BFA41F #E0C43B #E8D470 #F0E4A5 #F9F4D9

Accessibility & contrast

On white

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

On black

14.08
#E8D470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D470
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D470#FFFFFF#000000##000000
##E8D4701.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF67
Deuteranopia (green-blind)
#EAD774
Tritanopia (blue-blind)
#F7C7BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d470;
/* rgb */ color: rgb(232, 212, 112);
/* oklch */ color: oklch(86.6% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#f2e19b',
    500: '#e8d470',
    950: '#000000',
  },
}
SCSS
$custom: #e8d470;
$custom-light: #f2e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d470",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 112
  },
  "hsl": {
    "h": 50,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86613,
    "c": 0.12293,
    "h": 98.2
  },
  "luminance": 0.65413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8D470

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

Preview Lab → · Contrast checker → · Palette generator →

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