#E8D670#E8D670

#E8D670 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 87.0% C 0.125 H 99.5°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#E8D670
RGBrgb(232, 214, 112)
HSLhsl(51, 72%, 67%)
HSVhsv(51, 52%, 91%)
CMYKcmyk(0%, 7.8%, 51.7%, 9%)
CIE-LABlab(85.21, -6.74, 52.08)
CIE-LCHlch(85.21, 52.51, 97.37°)
OKLaboklab(87.02% -0.0206 0.123)
OKLCHoklch(87.02% 0.125 99.5)
XYZxyz(60.2518, 66.4211, 24.9729)
Luminance0.6642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D670 #7082E8
analogous
#E89A70 #E8D670 #BEE870
triadic
#E8D670 #70E8D6 #D670E8
tetradic
#E8D670 #70E89A #7082E8 #E870BE
square
#E8D670 #70E89A #7082E8 #E870BE
split-complementary
#E8D670 #70BEE8 #9A70E8
monochromatic
#BFA71F #E0C73B #E8D670 #F0E5A5 #F9F4D9

Accessibility & contrast

On white

1.47
#E8D670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.28
#E8D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D670
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D670#FFFFFF#000000##000000
##E8D6701.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#ECD875
Tritanopia (blue-blind)
#F7C9BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d670;
/* rgb */ color: rgb(232, 214, 112);
/* oklch */ color: oklch(87.0% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#f2e29b',
    500: '#e8d670',
    950: '#000000',
  },
}
SCSS
$custom: #e8d670;
$custom-light: #f2e29b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d670",
  "rgb": {
    "r": 232,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 51,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8702,
    "c": 0.1247,
    "h": 99.5
  },
  "luminance": 0.66419
}

Semantic roles & 50–950 ramp

primary
#E8D670
secondary
#3E51BE
accent
#2ED411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D670

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

Preview Lab → · Contrast checker → · Palette generator →

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