#E8F170#E8F170

#E8F170 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.6% C 0.153 H 112.6°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#E8F170
RGBrgb(232, 241, 112)
HSLhsl(64, 82%, 69%)
HSVhsv(64, 54%, 95%)
CMYKcmyk(3.7%, 0%, 53.5%, 5.5%)
CIE-LABlab(92.24, -20.09, 60.28)
CIE-LCHlch(92.24, 63.54, 108.44°)
OKLaboklab(92.61% -0.0587 0.1408)
OKLCHoklch(92.61% 0.153 112.6)
XYZxyz(67.6601, 81.2375, 27.4423)
Luminance0.8124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F170 #7970F1
analogous
#F1BA70 #E8F170 #A8F170
triadic
#E8F170 #70E8F1 #F170E8
tetradic
#E8F170 #70F1BA #7970F1 #F170A8
square
#E8F170 #70F1BA #7970F1 #F170A8
split-complementary
#E8F170 #70A8F1 #BA70F1
monochromatic
#C5D215 #DFEC38 #E8F170 #F1F6A8 #FAFCDF

Accessibility & contrast

On white

1.22
#E8F170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#E8F170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F170
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F170#FFFFFF#000000##000000
##E8F1701.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE763
Deuteranopia (green-blind)
#FFEA77
Tritanopia (blue-blind)
#F5E4D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e8f170;
/* rgb */ color: rgb(232, 241, 112);
/* oklch */ color: oklch(92.6% 0.153 112.6);
Tailwind
colors: {
  custom: {
    50: '#f2f59d',
    500: '#e8f170',
    950: '#000000',
  },
}
SCSS
$custom: #e8f170;
$custom-light: #f2f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f170",
  "rgb": {
    "r": 232,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 64.186,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.92611,
    "c": 0.15252,
    "h": 112.6
  },
  "luminance": 0.81236
}

Semantic roles & 50–950 ramp

primary
#E8F170
secondary
#453BCA
accent
#07DF16
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F170

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

Preview Lab → · Contrast checker → · Palette generator →

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