#D8F772#D8F772

#D8F772 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.7% C 0.162 H 120.6°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#D8F772
RGBrgb(216, 247, 114)
HSLhsl(74, 89%, 71%)
HSVhsv(74, 54%, 97%)
CMYKcmyk(12.6%, 0%, 53.8%, 3.1%)
CIE-LABlab(92.72, -28.98, 59.66)
CIE-LCHlch(92.72, 66.33, 115.91°)
OKLaboklab(92.73% -0.0827 0.1399)
OKLCHoklch(92.73% 0.162 120.6)
XYZxyz(64.6175, 82.3355, 28.4045)
Luminance0.8234 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F772 #9172F7
analogous
#F7D372 #D8F772 #95F772
triadic
#D8F772 #72D8F7 #F772D8
tetradic
#D8F772 #72F7D3 #9172F7 #F77295
square
#D8F772 #72F7D3 #9172F7 #F77295
split-complementary
#D8F772 #7295F7 #D372F7
monochromatic
#B0E20D #C8F438 #D8F772 #E8FAAC #F7FDE2

Accessibility & contrast

On white

1.20
#D8F772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#D8F772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F772
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F772#FFFFFF#000000##000000
##D8F7721.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFEA7A
Tritanopia (blue-blind)
#E2ECD9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d8f772;
/* rgb */ color: rgb(216, 247, 114);
/* oklch */ color: oklch(92.7% 0.162 120.6);
Tailwind
colors: {
  custom: {
    50: '#e6f99e',
    500: '#d8f772',
    950: '#000000',
  },
}
SCSS
$custom: #d8f772;
$custom-light: #e6f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f772",
  "rgb": {
    "r": 216,
    "g": 247,
    "b": 114
  },
  "hsl": {
    "h": 73.985,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92725,
    "c": 0.16248,
    "h": 120.6
  },
  "luminance": 0.82335
}

Semantic roles & 50–950 ramp

primary
#D8F772
secondary
#5E3BD2
accent
#00E635
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D8F772

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

Preview Lab → · Contrast checker → · Palette generator →

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