#D8FA81#D8FA81

#D8FA81 is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.6% C 0.152 H 122.3°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#D8FA81
RGBrgb(216, 250, 129)
HSLhsl(77, 92%, 74%)
HSVhsv(77, 48%, 98%)
CMYKcmyk(13.6%, 0%, 48.4%, 2%)
CIE-LABlab(93.69, -29.00, 53.99)
CIE-LCHlch(93.69, 61.29, 118.24°)
OKLaboklab(93.55% -0.0815 0.1288)
OKLCHoklch(93.55% 0.152 122.3)
XYZxyz(66.4672, 84.5550, 33.5837)
Luminance0.8456 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA81 #A381FA
analogous
#FAE081 #D8FA81 #9CFA81
triadic
#D8FA81 #81D8FA #FA81D8
tetradic
#D8FA81 #81FAE0 #A381FA #FA819C
square
#D8FA81 #81FAE0 #A381FA #FA819C
split-complementary
#D8FA81 #819CFA #E081FA
monochromatic
#B4F50B #C6F846 #D8FA81 #EAFCBC #F6FEE2

Accessibility & contrast

On white

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

On black

17.91
#D8FA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA81
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA81#FFFFFF#000000##000000
##D8FA811.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE76
Deuteranopia (green-blind)
#FFED88
Tritanopia (blue-blind)
#E1F0DE
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d8fa81;
/* rgb */ color: rgb(216, 250, 129);
/* oklch */ color: oklch(93.6% 0.152 122.3);
Tailwind
colors: {
  custom: {
    50: '#e6fca8',
    500: '#d8fa81',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa81;
$custom-light: #e6fca8;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa81",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 129
  },
  "hsl": {
    "h": 76.86,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.93554,
    "c": 0.15237,
    "h": 122.3
  },
  "luminance": 0.84555
}

Semantic roles & 50–950 ramp

primary
#D8FA81
secondary
#7048D8
accent
#00E640
background
#FEFFFD
surface
#FDFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D8FA81

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

Preview Lab → · Contrast checker → · Palette generator →

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