#E8F970#E8F970

#E8F970 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.3% C 0.162 H 115.5°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#E8F970
RGBrgb(232, 249, 112)
HSLhsl(67, 92%, 71%)
HSVhsv(67, 55%, 98%)
CMYKcmyk(6.8%, 0%, 55%, 2.4%)
CIE-LABlab(94.35, -23.92, 62.69)
CIE-LCHlch(94.35, 67.10, 110.89°)
OKLaboklab(94.3% -0.0695 0.146)
OKLCHoklch(94.3% 0.162 115.5)
XYZxyz(70.0803, 86.0780, 28.2490)
Luminance0.8608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F970 #8170F9
analogous
#F9C570 #E8F970 #A3F970
triadic
#E8F970 #70E8F9 #F970E8
tetradic
#E8F970 #70F9C5 #8170F9 #F970A3
square
#E8F970 #70F9C5 #8170F9 #F970A3
split-complementary
#E8F970 #70A3F9 #C570F9
monochromatic
#CAE50A #DFF735 #E8F970 #F1FBAB #FAFEE2

Accessibility & contrast

On white

1.15
#E8F970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#E8F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F970
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F970#FFFFFF#000000##000000
##E8F9701.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE62
Deuteranopia (green-blind)
#FFF078
Tritanopia (blue-blind)
#F5ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #e8f970;
/* rgb */ color: rgb(232, 249, 112);
/* oklch */ color: oklch(94.3% 0.162 115.5);
Tailwind
colors: {
  custom: {
    50: '#f2fb9d',
    500: '#e8f970',
    950: '#000000',
  },
}
SCSS
$custom: #e8f970;
$custom-light: #f2fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f970",
  "rgb": {
    "r": 232,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 67.445,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94298,
    "c": 0.16167,
    "h": 115.5
  },
  "luminance": 0.86077
}

Semantic roles & 50–950 ramp

primary
#E8F970
secondary
#4C39D4
accent
#00E61C
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F970

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

Preview Lab → · Contrast checker → · Palette generator →

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