#D2F8A2#D2F8A2

#D2F8A2 is a very light, moderate yellow-green. Relative luminance 0.834; OKLCH L 93.2% C 0.118 H 127.9°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#D2F8A2
RGBrgb(210, 248, 162)
HSLhsl(87, 86%, 80%)
HSVhsv(87, 35%, 97%)
CMYKcmyk(15.3%, 0%, 34.7%, 2.7%)
CIE-LABlab(93.21, -26.48, 37.39)
CIE-LCHlch(93.21, 45.81, 125.31°)
OKLaboklab(93.21% -0.0722 0.0928)
OKLCHoklch(93.21% 0.118 127.9)
XYZxyz(66.6665, 83.4444, 46.7695)
Luminance0.8345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F8A2 #C8A2F8
analogous
#F8F3A2 #D2F8A2 #A7F8A2
triadic
#D2F8A2 #A2D2F8 #F8A2D2
tetradic
#D2F8A2 #A2F8F3 #C8A2F8 #F8A2A7
square
#D2F8A2 #A2F8F3 #C8A2F8 #F8A2A7
split-complementary
#D2F8A2 #A2A7F8 #F3A2F8
monochromatic
#9BEF30 #B6F469 #D2F8A2 #EEFCDB #F1FDE3

Accessibility & contrast

On white

1.19
#D2F8A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#D2F8A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F8A2
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F8A2#FFFFFF#000000##000000
##D2F8A21.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED9C
Deuteranopia (green-blind)
#FBEBA6
Tritanopia (blue-blind)
#D6F1E2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d2f8a2;
/* rgb */ color: rgb(210, 248, 162);
/* oklch */ color: oklch(93.2% 0.118 127.9);
Tailwind
colors: {
  custom: {
    50: '#e1fabe',
    500: '#d2f8a2',
    950: '#000000',
  },
}
SCSS
$custom: #d2f8a2;
$custom-light: #e1fabe;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f8a2",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 162
  },
  "hsl": {
    "h": 86.512,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.93213,
    "c": 0.11753,
    "h": 127.9
  },
  "luminance": 0.83445
}

Semantic roles & 50–950 ramp

primary
#D2F8A2
secondary
#9865D9
accent
#03E366
background
#FEFFFD
surface
#FCFFF8
border
#D5D7D1
text
#151712
muted
#848582

Preview Lab

Preview with #D2F8A2

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

Preview Lab → · Contrast checker → · Palette generator →

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