#D8FA7B#D8FA7B

#D8FA7B is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.5% C 0.158 H 121.9°. Best body text is #000000 at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#D8FA7B
RGBrgb(216, 250, 123)
HSLhsl(76, 93%, 73%)
HSVhsv(76, 51%, 98%)
CMYKcmyk(13.6%, 0%, 50.8%, 2%)
CIE-LABlab(93.62, -29.57, 56.67)
CIE-LCHlch(93.62, 63.92, 117.56°)
OKLaboklab(93.48% -0.0836 0.1342)
OKLCHoklch(93.48% 0.158 121.9)
XYZxyz(66.0800, 84.4001, 31.5447)
Luminance0.8440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA7B #9D7BFA
analogous
#FADC7B #D8FA7B #98FA7B
triadic
#D8FA7B #7BD8FA #FA7BD8
tetradic
#D8FA7B #7BFADC #9D7BFA #FA7B98
square
#D8FA7B #7BFADC #9D7BFA #FA7B98
split-complementary
#D8FA7B #7B98FA #DC7BFA
monochromatic
#B3F109 #C7F840 #D8FA7B #E9FCB6 #F6FEE2

Accessibility & contrast

On white

1.17
#D8FA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.88
#D8FA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA7B
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA7B#FFFFFF#000000##000000
##D8FA7B1.001.1717.8817.88
#FFFFFF1.171.0021.0021.00
#00000017.8821.001.001.00
##00000017.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6F
Deuteranopia (green-blind)
#FFED82
Tritanopia (blue-blind)
#E1EFDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d8fa7b;
/* rgb */ color: rgb(216, 250, 123);
/* oklch */ color: oklch(93.5% 0.158 121.9);
Tailwind
colors: {
  custom: {
    50: '#e6fca4',
    500: '#d8fa7b',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa7b;
$custom-light: #e6fca4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa7b",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 123
  },
  "hsl": {
    "h": 76.063,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93479,
    "c": 0.15807,
    "h": 121.9
  },
  "luminance": 0.844
}

Semantic roles & 50–950 ramp

primary
#D8FA7B
secondary
#6A42D7
accent
#00E63D
background
#FEFFFC
surface
#FDFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D8FA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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