#D8F786#D8F786

#D8F786 is a very light, vivid yellow-green. Relative luminance 0.828; OKLCH L 93.0% C 0.143 H 121.8°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#D8F786
RGBrgb(216, 247, 134)
HSLhsl(76, 88%, 75%)
HSVhsv(76, 46%, 97%)
CMYKcmyk(12.6%, 0%, 45.7%, 3.1%)
CIE-LABlab(92.95, -27.09, 50.74)
CIE-LCHlch(92.95, 57.52, 118.10°)
OKLaboklab(92.98% -0.0757 0.1219)
OKLCHoklch(92.98% 0.144 121.8)
XYZxyz(65.8829, 82.8417, 35.0688)
Luminance0.8284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F786 #A586F7
analogous
#F7DD86 #D8F786 #A0F786
triadic
#D8F786 #86D8F7 #F786D8
tetradic
#D8F786 #86F7DD #A586F7 #F786A0
square
#D8F786 #86F7DD #A586F7 #F786A0
split-complementary
#D8F786 #86A0F7 #DD86F7
monochromatic
#B3EF13 #C5F34D #D8F786 #EBFBBF #F6FDE2

Accessibility & contrast

On white

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

On black

17.57
#D8F786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F786
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F786#FFFFFF#000000##000000
##D8F7861.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB7D
Deuteranopia (green-blind)
#FFEB8C
Tritanopia (blue-blind)
#E0EDDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f786;
/* rgb */ color: rgb(216, 247, 134);
/* oklch */ color: oklch(93.0% 0.143 121.8);
Tailwind
colors: {
  custom: {
    50: '#e6faab',
    500: '#d8f786',
    950: '#000000',
  },
}
SCSS
$custom: #d8f786;
$custom-light: #e6faab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f786",
  "rgb": {
    "r": 216,
    "g": 247,
    "b": 134
  },
  "hsl": {
    "h": 76.46,
    "s": 87.597,
    "l": 74.706
  },
  "oklch": {
    "l": 0.92975,
    "c": 0.1435,
    "h": 121.8
  },
  "luminance": 0.82842
}

Semantic roles & 50–950 ramp

primary
#D8F786
secondary
#724DD4
accent
#01E440
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8F786

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

Preview Lab → · Contrast checker → · Palette generator →

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