#D8FC7C#D8FC7C

#D8FC7C is a very light, vivid yellow-green. Relative luminance 0.857; OKLCH L 93.9% C 0.160 H 122.5°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#D8FC7C
RGBrgb(216, 252, 124)
HSLhsl(77, 96%, 74%)
HSVhsv(77, 51%, 99%)
CMYKcmyk(14.3%, 0%, 50.8%, 1.2%)
CIE-LABlab(94.17, -30.41, 56.87)
CIE-LCHlch(94.17, 64.49, 118.14°)
OKLaboklab(93.92% -0.0858 0.1347)
OKLCHoklch(93.92% 0.16 122.5)
XYZxyz(66.7677, 85.6748, 32.0843)
Luminance0.8568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FC7C #A07CFC
analogous
#FCE07C #D8FC7C #98FC7C
triadic
#D8FC7C #7CD8FC #FC7CD8
tetradic
#D8FC7C #7CFCE0 #A07CFC #FC7C98
square
#D8FC7C #7CFCE0 #A07CFC #FC7C98
split-complementary
#D8FC7C #7C98FC #E07CFC
monochromatic
#B4F806 #C6FB40 #D8FC7C #EAFDB8 #F6FEE1

Accessibility & contrast

On white

1.16
#D8FC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#D8FC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FC7C
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FC7C#FFFFFF#000000##000000
##D8FC7C1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF70
Deuteranopia (green-blind)
#FFEE84
Tritanopia (blue-blind)
#E1F1DF
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #d8fc7c;
/* rgb */ color: rgb(216, 252, 124);
/* oklch */ color: oklch(93.9% 0.160 122.5);
Tailwind
colors: {
  custom: {
    50: '#e6fda5',
    500: '#d8fc7c',
    950: '#000000',
  },
}
SCSS
$custom: #d8fc7c;
$custom-light: #e6fda5;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fc7c",
  "rgb": {
    "r": 216,
    "g": 252,
    "b": 124
  },
  "hsl": {
    "h": 76.875,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93924,
    "c": 0.1597,
    "h": 122.5
  },
  "luminance": 0.85675
}

Semantic roles & 50–950 ramp

primary
#D8FC7C
secondary
#6D43DA
accent
#00E641
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8FC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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