#E8F862#E8F862

#E8F862 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 93.9% C 0.172 H 114.9°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#E8F862
RGBrgb(232, 248, 98)
HSLhsl(66, 91%, 68%)
HSVhsv(66, 60%, 97%)
CMYKcmyk(6.5%, 0%, 60.5%, 2.7%)
CIE-LABlab(93.96, -24.47, 68.18)
CIE-LCHlch(93.96, 72.43, 109.74°)
OKLaboklab(93.95% -0.0724 0.156)
OKLCHoklch(93.95% 0.172 114.9)
XYZxyz(69.0523, 85.1735, 24.3554)
Luminance0.8517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F862 #7262F8
analogous
#F8BD62 #E8F862 #9DF862
triadic
#E8F862 #62E8F8 #F862E8
tetradic
#E8F862 #62F8BD #7262F8 #F8629D
square
#E8F862 #62F8BD #7262F8 #F8629D
split-complementary
#E8F862 #629DF8 #BD62F8
monochromatic
#C0D60A #DFF527 #E8F862 #F1FB9D #F9FDD7

Accessibility & contrast

On white

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

On black

18.03
#E8F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F862
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F862#FFFFFF#000000##000000
##E8F8621.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFEF6C
Tritanopia (blue-blind)
#F6EBD8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e8f862;
/* rgb */ color: rgb(232, 248, 98);
/* oklch */ color: oklch(93.9% 0.172 114.9);
Tailwind
colors: {
  custom: {
    50: '#f2fa95',
    500: '#e8f862',
    950: '#000000',
  },
}
SCSS
$custom: #e8f862;
$custom-light: #f2fa95;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f862",
  "rgb": {
    "r": 232,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 66.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93947,
    "c": 0.17199,
    "h": 114.9
  },
  "luminance": 0.85172
}

Semantic roles & 50–950 ramp

primary
#E8F862
secondary
#3F2ED0
accent
#00E618
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E8F862

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

Preview Lab → · Contrast checker → · Palette generator →

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