#D8FA6B#D8FA6B

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

Color values

HEX#D8FA6B
RGBrgb(216, 250, 107)
HSLhsl(74, 93%, 70%)
HSVhsv(74, 57%, 98%)
CMYKcmyk(13.6%, 0%, 57.2%, 2%)
CIE-LABlab(93.46, -30.95, 63.56)
CIE-LCHlch(93.46, 70.69, 115.97°)
OKLaboklab(93.3% -0.0888 0.1475)
OKLCHoklch(93.3% 0.172 121.1)
XYZxyz(65.1590, 84.0317, 26.6941)
Luminance0.8403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA6B #8D6BFA
analogous
#FAD56B #D8FA6B #90FA6B
triadic
#D8FA6B #6BD8FA #FA6BD8
tetradic
#D8FA6B #6BFAD5 #8D6BFA #FA6B90
square
#D8FA6B #6BFAD5 #8D6BFA #FA6B90
split-complementary
#D8FA6B #6B90FA #D56BFA
monochromatic
#AFE308 #C8F830 #D8FA6B #E8FCA6 #F7FEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8FA6B#FFFFFF#000000##000000
##D8FA6B1.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)
#FFED5C
Deuteranopia (green-blind)
#FFEC74
Tritanopia (blue-blind)
#E2EEDB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8fa6b;
/* rgb */ color: rgb(216, 250, 107);
/* oklch */ color: oklch(93.3% 0.172 121.1);
Tailwind
colors: {
  custom: {
    50: '#e7fc9a',
    500: '#d8fa6b',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa6b;
$custom-light: #e7fc9a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa6b",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 107
  },
  "hsl": {
    "h": 74.266,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.93299,
    "c": 0.17221,
    "h": 121.1
  },
  "luminance": 0.84032
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8FA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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