#D8F87C#D8F87C

#D8F87C is a very light, vivid yellow-green. Relative luminance 0.832; OKLCH L 93.1% C 0.155 H 121.4°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#D8F87C
RGBrgb(216, 248, 124)
HSLhsl(75, 90%, 73%)
HSVhsv(75, 50%, 97%)
CMYKcmyk(12.9%, 0%, 50%, 2.7%)
CIE-LABlab(93.10, -28.55, 55.59)
CIE-LCHlch(93.10, 62.49, 117.18°)
OKLaboklab(93.06% -0.0806 0.1319)
OKLCHoklch(93.06% 0.155 121.4)
XYZxyz(65.5248, 83.1890, 31.6700)
Luminance0.8319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F87C #9C7CF8
analogous
#F8DA7C #D8F87C #9AF87C
triadic
#D8F87C #7CD8F8 #F87CD8
tetradic
#D8F87C #7CF8DA #9C7CF8 #F87C9A
square
#D8F87C #7CF8DA #9C7CF8 #F87C9A
split-complementary
#D8F87C #7C9AF8 #DA7CF8
monochromatic
#B3ED0D #C7F542 #D8F87C #E9FBB6 #F6FDE2

Accessibility & contrast

On white

1.19
#D8F87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#D8F87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F87C
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F87C#FFFFFF#000000##000000
##D8F87C1.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC71
Deuteranopia (green-blind)
#FFEB83
Tritanopia (blue-blind)
#E1EDDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d8f87c;
/* rgb */ color: rgb(216, 248, 124);
/* oklch */ color: oklch(93.1% 0.155 121.4);
Tailwind
colors: {
  custom: {
    50: '#e6faa5',
    500: '#d8f87c',
    950: '#000000',
  },
}
SCSS
$custom: #d8f87c;
$custom-light: #e6faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f87c",
  "rgb": {
    "r": 216,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 75.484,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93059,
    "c": 0.15457,
    "h": 121.4
  },
  "luminance": 0.83189
}

Semantic roles & 50–950 ramp

primary
#D8F87C
secondary
#6944D4
accent
#00E63B
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F87C

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

Preview Lab → · Contrast checker → · Palette generator →

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