#D8F2AA#D8F2AA

#D8F2AA is a very light, moderate yellow-green. Relative luminance 0.810; OKLCH L 92.5% C 0.097 H 124.4°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#D8F2AA
RGBrgb(216, 242, 170)
HSLhsl(82, 73%, 81%)
HSVhsv(82, 30%, 95%)
CMYKcmyk(10.7%, 0%, 29.8%, 5.1%)
CIE-LABlab(92.13, -20.39, 32.02)
CIE-LCHlch(92.13, 37.96, 122.48°)
OKLaboklab(92.5% -0.0549 0.0803)
OKLCHoklch(92.5% 0.097 124.4)
XYZxyz(67.3260, 81.0052, 50.1111)
Luminance0.8101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8F2AA #C4AAF2
analogous
#F2E8AA #D8F2AA #B4F2AA
triadic
#D8F2AA #AAD8F2 #F2AAD8
tetradic
#D8F2AA #AAF2E8 #C4AAF2 #F2AAB4
square
#D8F2AA #AAF2E8 #C4AAF2 #F2AAB4
split-complementary
#D8F2AA #AAB4F2 #E8AAF2
monochromatic
#A7E240 #C0EA75 #D8F2AA #F0FADF #F3FBE4

Accessibility & contrast

On white

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

On black

17.20
#D8F2AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8F2AA
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8F2AA#FFFFFF#000000##000000
##D8F2AA1.001.2217.2017.20
#FFFFFF1.221.0021.0021.00
#00000017.2021.001.001.00
##00000017.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE9A5
Deuteranopia (green-blind)
#F6E8AD
Tritanopia (blue-blind)
#DDEBDF
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d8f2aa;
/* rgb */ color: rgb(216, 242, 170);
/* oklch */ color: oklch(92.5% 0.097 124.4);
Tailwind
colors: {
  custom: {
    50: '#e4f6c3',
    500: '#d8f2aa',
    950: '#000000',
  },
}
SCSS
$custom: #d8f2aa;
$custom-light: #e4f6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8f2aa",
  "rgb": {
    "r": 216,
    "g": 242,
    "b": 170
  },
  "hsl": {
    "h": 81.667,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.92496,
    "c": 0.09727,
    "h": 124.4
  },
  "luminance": 0.81005
}

Semantic roles & 50–950 ramp

primary
#D8F2AA
secondary
#936FD1
accent
#10D657
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#161712
muted
#848582

Preview Lab

Preview with #D8F2AA

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

Preview Lab → · Contrast checker → · Palette generator →

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