#D8FA6C#D8FA6C

#D8FA6C is a very light, vivid yellow-green. Relative luminance 0.841; OKLCH L 93.3% C 0.171 H 121.1°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#D8FA6C
RGBrgb(216, 250, 108)
HSLhsl(74, 93%, 70%)
HSVhsv(74, 57%, 98%)
CMYKcmyk(13.6%, 0%, 56.8%, 2%)
CIE-LABlab(93.47, -30.87, 63.14)
CIE-LCHlch(93.47, 70.28, 116.06°)
OKLaboklab(93.31% -0.0885 0.1467)
OKLCHoklch(93.31% 0.171 121.1)
XYZxyz(65.2119, 84.0529, 26.9728)
Luminance0.8405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA6C #8E6CFA
analogous
#FAD56C #D8FA6C #91FA6C
triadic
#D8FA6C #6CD8FA #FA6CD8
tetradic
#D8FA6C #6CFAD5 #8E6CFA #FA6C91
square
#D8FA6C #6CFAD5 #8E6CFA #FA6C91
split-complementary
#D8FA6C #6C91FA #D56CFA
monochromatic
#AFE408 #C8F831 #D8FA6C #E8FCA7 #F7FEE1

Accessibility & contrast

On white

1.18
#D8FA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#D8FA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA6C
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA6C#FFFFFF#000000##000000
##D8FA6C1.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFEC75
Tritanopia (blue-blind)
#E2EEDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8fa6c;
/* rgb */ color: rgb(216, 250, 108);
/* oklch */ color: oklch(93.3% 0.171 121.1);
Tailwind
colors: {
  custom: {
    50: '#e7fc9b',
    500: '#d8fa6c',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa6c;
$custom-light: #e7fc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa6c",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 108
  },
  "hsl": {
    "h": 74.366,
    "s": 93.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93309,
    "c": 0.17138,
    "h": 121.1
  },
  "luminance": 0.84053
}

Semantic roles & 50–950 ramp

primary
#D8FA6C
secondary
#5C35D5
accent
#00E637
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D8FA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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