#D8F2AC#D8F2AC

#D8F2AC is a very light, moderate yellow-green. Relative luminance 0.811; OKLCH L 92.5% C 0.095 H 124.8°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#D8F2AC
RGBrgb(216, 242, 172)
HSLhsl(82, 73%, 81%)
HSVhsv(82, 29%, 95%)
CMYKcmyk(10.7%, 0%, 28.9%, 5.1%)
CIE-LABlab(92.17, -20.11, 31.06)
CIE-LCHlch(92.17, 37.00, 122.93°)
OKLaboklab(92.53% -0.0541 0.078)
OKLCHoklch(92.53% 0.095 124.8)
XYZxyz(67.5166, 81.0815, 51.1151)
Luminance0.8108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F2AC #C6ACF2
analogous
#F2E9AC #D8F2AC #B5F2AC
triadic
#D8F2AC #ACD8F2 #F2ACD8
tetradic
#D8F2AC #ACF2E9 #C6ACF2 #F2ACB5
square
#D8F2AC #ACF2E9 #C6ACF2 #F2ACB5
split-complementary
#D8F2AC #ACB5F2 #E9ACF2
monochromatic
#A6E142 #BFEA77 #D8F2AC #F1FAE1 #F3FBE5

Accessibility & contrast

On white

1.22
#D8F2AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#D8F2AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F2AC
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F2AC#FFFFFF#000000##000000
##D8F2AC1.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE9A7
Deuteranopia (green-blind)
#F6E8AF
Tritanopia (blue-blind)
#DDEBE0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d8f2ac;
/* rgb */ color: rgb(216, 242, 172);
/* oklch */ color: oklch(92.5% 0.095 124.8);
Tailwind
colors: {
  custom: {
    50: '#e4f6c5',
    500: '#d8f2ac',
    950: '#000000',
  },
}
SCSS
$custom: #d8f2ac;
$custom-light: #e4f6c5;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f2ac",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 172
  },
  "hsl": {
    "h": 82.286,
    "s": 72.917,
    "l": 81.176
  },
  "oklch": {
    "l": 0.92534,
    "c": 0.09494,
    "h": 124.8
  },
  "luminance": 0.81082
}

Semantic roles & 50–950 ramp

primary
#D8F2AC
secondary
#9571D1
accent
#10D559
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151713
muted
#848582

Preview Lab

Preview with #D8F2AC

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

Preview Lab → · Contrast checker → · Palette generator →

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