#D8F862#D8F862

#D8F862 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.8% C 0.177 H 120.2°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#D8F862
RGBrgb(216, 248, 98)
HSLhsl(73, 91%, 68%)
HSVhsv(73, 60%, 97%)
CMYKcmyk(12.9%, 0%, 60.5%, 2.7%)
CIE-LABlab(92.85, -30.71, 66.65)
CIE-LCHlch(92.85, 73.38, 114.74°)
OKLaboklab(92.78% -0.089 0.1531)
OKLCHoklch(92.78% 0.177 120.2)
XYZxyz(64.0918, 82.6158, 24.1229)
Luminance0.8262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F862 #8262F8
analogous
#F8CD62 #D8F862 #8DF862
triadic
#D8F862 #62D8F8 #F862D8
tetradic
#D8F862 #62F8CD #8262F8 #F8628D
square
#D8F862 #62F8CD #8262F8 #F8628D
split-complementary
#D8F862 #628DF8 #CD62F8
monochromatic
#AAD60A #C9F527 #D8F862 #E7FB9D #F5FDD7

Accessibility & contrast

On white

1.20
#D8F862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.52
#D8F862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F862
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F862#FFFFFF#000000##000000
##D8F8621.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB50
Deuteranopia (green-blind)
#FFEB6C
Tritanopia (blue-blind)
#E3ECD8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d8f862;
/* rgb */ color: rgb(216, 248, 98);
/* oklch */ color: oklch(92.8% 0.177 120.2);
Tailwind
colors: {
  custom: {
    50: '#e7fa94',
    500: '#d8f862',
    950: '#000000',
  },
}
SCSS
$custom: #d8f862;
$custom-light: #e7fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f862",
  "rgb": {
    "r": 216,
    "g": 248,
    "b": 98
  },
  "hsl": {
    "h": 72.8,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92776,
    "c": 0.17705,
    "h": 120.2
  },
  "luminance": 0.82616
}

Semantic roles & 50–950 ramp

primary
#D8F862
secondary
#502ED0
accent
#00E631
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#16170E
muted
#85857F

Preview Lab

Preview with #D8F862

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

Preview Lab → · Contrast checker → · Palette generator →

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