#D8F861#D8F861

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

Color values

HEX#D8F861
RGBrgb(216, 248, 97)
HSLhsl(73, 92%, 68%)
HSVhsv(73, 61%, 97%)
CMYKcmyk(12.9%, 0%, 60.9%, 2.7%)
CIE-LABlab(92.84, -30.78, 67.05)
CIE-LCHlch(92.84, 73.77, 114.66°)
OKLaboklab(92.77% -0.0893 0.1538)
OKLCHoklch(92.77% 0.178 120.1)
XYZxyz(64.0449, 82.5970, 23.8758)
Luminance0.8260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F861 #8161F8
analogous
#F8CC61 #D8F861 #8DF861
triadic
#D8F861 #61D8F8 #F861D8
tetradic
#D8F861 #61F8CC #8161F8 #F8618D
square
#D8F861 #61F8CC #8161F8 #F8618D
split-complementary
#D8F861 #618DF8 #CC61F8
monochromatic
#AAD509 #CAF526 #D8F861 #E6FB9C #F5FDD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8F861#FFFFFF#000000##000000
##D8F8611.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)
#FFEB4F
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#E3ECD8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d8f861;
/* rgb */ color: rgb(216, 248, 97);
/* oklch */ color: oklch(92.8% 0.178 120.1);
Tailwind
colors: {
  custom: {
    50: '#e7fa94',
    500: '#d8f861',
    950: '#000000',
  },
}
SCSS
$custom: #d8f861;
$custom-light: #e7fa94;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f861",
  "rgb": {
    "r": 216,
    "g": 248,
    "b": 97
  },
  "hsl": {
    "h": 72.715,
    "s": 91.515,
    "l": 67.647
  },
  "oklch": {
    "l": 0.92767,
    "c": 0.17783,
    "h": 120.1
  },
  "luminance": 0.82597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8F861

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

Preview Lab → · Contrast checker → · Palette generator →

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