#E8F974#E8F974

#E8F974 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.3% C 0.158 H 115.6°. Best body text is #000000 at 18.23:1 contrast (WCAG AA passes).

Color values

HEX#E8F974
RGBrgb(232, 249, 116)
HSLhsl(68, 92%, 72%)
HSVhsv(68, 53%, 98%)
CMYKcmyk(6.8%, 0%, 53.4%, 2.4%)
CIE-LABlab(94.38, -23.60, 60.98)
CIE-LCHlch(94.38, 65.39, 111.16°)
OKLaboklab(94.34% -0.0682 0.1427)
OKLCHoklch(94.34% 0.158 115.6)
XYZxyz(70.3080, 86.1690, 29.4481)
Luminance0.8617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F974 #8574F9
analogous
#F9C874 #E8F974 #A6F974
triadic
#E8F974 #74E8F9 #F974E8
tetradic
#E8F974 #74F9C8 #8574F9 #F974A6
square
#E8F974 #74F9C8 #8574F9 #F974A6
split-complementary
#E8F974 #74A6F9 #C874F9
monochromatic
#CCE90A #DEF639 #E8F974 #F2FCAF #FAFEE2

Accessibility & contrast

On white

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

On black

18.23
#E8F974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F974
18.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F974#FFFFFF#000000##000000
##E8F9741.001.1518.2318.23
#FFFFFF1.151.0021.0021.00
#00000018.2321.001.001.00
##00000018.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE67
Deuteranopia (green-blind)
#FFF07C
Tritanopia (blue-blind)
#F5EDDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #e8f974;
/* rgb */ color: rgb(232, 249, 116);
/* oklch */ color: oklch(94.3% 0.158 115.6);
Tailwind
colors: {
  custom: {
    50: '#f2fba0',
    500: '#e8f974',
    950: '#000000',
  },
}
SCSS
$custom: #e8f974;
$custom-light: #f2fba0;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f974",
  "rgb": {
    "r": 232,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 67.669,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94341,
    "c": 0.15815,
    "h": 115.6
  },
  "luminance": 0.86168
}

Semantic roles & 50–950 ramp

primary
#E8F974
secondary
#503DD5
accent
#00E61D
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F974

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

Preview Lab → · Contrast checker → · Palette generator →

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