#D8FA72#D8FA72

#D8FA72 is a very light, vivid yellow-green. Relative luminance 0.842; OKLCH L 93.4% C 0.166 H 121.4°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#D8FA72
RGBrgb(216, 250, 114)
HSLhsl(75, 93%, 71%)
HSVhsv(75, 54%, 98%)
CMYKcmyk(13.6%, 0%, 54.4%, 2%)
CIE-LABlab(93.53, -30.38, 60.59)
CIE-LCHlch(93.53, 67.78, 116.63°)
OKLaboklab(93.37% -0.0866 0.1419)
OKLCHoklch(93.37% 0.166 121.4)
XYZxyz(65.5423, 84.1851, 28.7128)
Luminance0.8418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8FA72 #9472FA
analogous
#FAD872 #D8FA72 #94FA72
triadic
#D8FA72 #72D8FA #FA72D8
tetradic
#D8FA72 #72FAD8 #9472FA #FA7294
square
#D8FA72 #72FAD8 #9472FA #FA7294
split-complementary
#D8FA72 #7294FA #D872FA
monochromatic
#B1E908 #C8F837 #D8FA72 #E8FCAD #F7FEE1

Accessibility & contrast

On white

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

On black

17.84
#D8FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8FA72
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8FA72#FFFFFF#000000##000000
##D8FA721.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED64
Deuteranopia (green-blind)
#FFED7A
Tritanopia (blue-blind)
#E2EFDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #d8fa72;
/* rgb */ color: rgb(216, 250, 114);
/* oklch */ color: oklch(93.4% 0.166 121.4);
Tailwind
colors: {
  custom: {
    50: '#e6fc9e',
    500: '#d8fa72',
    950: '#000000',
  },
}
SCSS
$custom: #d8fa72;
$custom-light: #e6fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8fa72",
  "rgb": {
    "r": 216,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 75,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93374,
    "c": 0.16622,
    "h": 121.4
  },
  "luminance": 0.84185
}

Semantic roles & 50–950 ramp

primary
#D8FA72
secondary
#613BD6
accent
#00E639
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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