#D8F586#D8F586

#D8F586 is a very light, vivid yellow-green. Relative luminance 0.816; OKLCH L 92.5% C 0.141 H 121.2°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#D8F586
RGBrgb(216, 245, 134)
HSLhsl(76, 85%, 74%)
HSVhsv(76, 45%, 96%)
CMYKcmyk(11.8%, 0%, 45.3%, 3.9%)
CIE-LABlab(92.41, -26.15, 50.08)
CIE-LCHlch(92.41, 56.50, 117.57°)
OKLaboklab(92.55% -0.073 0.1205)
OKLCHoklch(92.55% 0.141 121.2)
XYZxyz(65.2746, 81.6250, 34.8661)
Luminance0.8163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F586 #A386F5
analogous
#F5DB86 #D8F586 #A1F586
triadic
#D8F586 #86D8F5 #F586D8
tetradic
#D8F586 #86F5DB #A386F5 #F586A1
square
#D8F586 #86F5DB #A386F5 #F586A1
split-complementary
#D8F586 #86A1F5 #DB86F5
monochromatic
#B4EC15 #C6F04D #D8F586 #EAFABF #F6FDE3

Accessibility & contrast

On white

1.21
#D8F586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#D8F586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F586
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F586#FFFFFF#000000##000000
##D8F5861.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA7D
Deuteranopia (green-blind)
#FDE98C
Tritanopia (blue-blind)
#E1EBDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d8f586;
/* rgb */ color: rgb(216, 245, 134);
/* oklch */ color: oklch(92.5% 0.141 121.2);
Tailwind
colors: {
  custom: {
    50: '#e6f8ab',
    500: '#d8f586',
    950: '#000000',
  },
}
SCSS
$custom: #d8f586;
$custom-light: #e6f8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f586",
  "rgb": {
    "r": 216,
    "g": 245,
    "b": 134
  },
  "hsl": {
    "h": 75.676,
    "s": 84.733,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92545,
    "c": 0.14086,
    "h": 121.2
  },
  "luminance": 0.81625
}

Semantic roles & 50–950 ramp

primary
#D8F586
secondary
#704ED2
accent
#04E13E
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8F586

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

Preview Lab → · Contrast checker → · Palette generator →

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