#E8E970#E8E970

#E8E970 is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 90.9% C 0.144 H 109.4°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#E8E970
RGBrgb(232, 233, 112)
HSLhsl(60, 73%, 68%)
HSVhsv(60, 52%, 91%)
CMYKcmyk(0.4%, 0%, 51.9%, 8.6%)
CIE-LABlab(90.14, -16.21, 57.86)
CIE-LCHlch(90.14, 60.09, 105.65°)
OKLaboklab(90.94% -0.0477 0.1356)
OKLCHoklch(90.94% 0.144 109.4)
XYZxyz(65.3438, 76.6051, 26.6702)
Luminance0.7660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E970 #7170E9
analogous
#E9AE70 #E8E970 #ABE970
triadic
#E8E970 #70E8E9 #E970E8
tetradic
#E8E970 #70E9AE #7170E9 #E970AB
square
#E8E970 #70E9AE #7170E9 #E970AB
split-complementary
#E8E970 #70ABE9 #AE70E9
monochromatic
#C0C11E #DFE13B #E8E970 #F1F1A5 #F9F9DA

Accessibility & contrast

On white

1.29
#E8E970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.32
#E8E970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E970
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E970#FFFFFF#000000##000000
##E8E9701.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E164
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#F6DCCE
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e8e970;
/* rgb */ color: rgb(232, 233, 112);
/* oklch */ color: oklch(90.9% 0.144 109.4);
Tailwind
colors: {
  custom: {
    50: '#f2ef9c',
    500: '#e8e970',
    950: '#000000',
  },
}
SCSS
$custom: #e8e970;
$custom-light: #f2ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e970",
  "rgb": {
    "r": 232,
    "g": 233,
    "b": 112
  },
  "hsl": {
    "h": 60.496,
    "s": 73.333,
    "l": 67.647
  },
  "oklch": {
    "l": 0.90937,
    "c": 0.14369,
    "h": 109.4
  },
  "luminance": 0.76603
}

Semantic roles & 50–950 ramp

primary
#E8E970
secondary
#3F3EC0
accent
#10D512
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E8E970

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

Preview Lab → · Contrast checker → · Palette generator →

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