#E8F962#E8F962

#E8F962 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.2% C 0.173 H 115.2°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#E8F962
RGBrgb(232, 249, 98)
HSLhsl(67, 93%, 68%)
HSVhsv(67, 61%, 98%)
CMYKcmyk(6.8%, 0%, 60.6%, 2.4%)
CIE-LABlab(94.22, -24.94, 68.46)
CIE-LCHlch(94.22, 72.86, 110.02°)
OKLaboklab(94.16% -0.0738 0.1566)
OKLCHoklch(94.16% 0.173 115.2)
XYZxyz(69.3605, 85.7901, 24.4582)
Luminance0.8579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F962 #7362F9
analogous
#F9BE62 #E8F962 #9CF962
triadic
#E8F962 #62E8F9 #F962E8
tetradic
#E8F962 #62F9BE #7362F9 #F9629C
square
#E8F962 #62F9BE #7362F9 #F9629C
split-complementary
#E8F962 #629CF9 #BE62F9
monochromatic
#C1D808 #DFF727 #E8F962 #F1FB9D #F9FED8

Accessibility & contrast

On white

1.16
#E8F962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.16
#E8F962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F962
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F962#FFFFFF#000000##000000
##E8F9621.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#F6ECD9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e8f962;
/* rgb */ color: rgb(232, 249, 98);
/* oklch */ color: oklch(94.2% 0.173 115.2);
Tailwind
colors: {
  custom: {
    50: '#f2fb95',
    500: '#e8f962',
    950: '#000000',
  },
}
SCSS
$custom: #e8f962;
$custom-light: #f2fb95;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f962",
  "rgb": {
    "r": 232,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 66.755,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.94159,
    "c": 0.17311,
    "h": 115.2
  },
  "luminance": 0.85789
}

Semantic roles & 50–950 ramp

primary
#E8F962
secondary
#402DD2
accent
#00E61A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E8F962

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

Preview Lab → · Contrast checker → · Palette generator →

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