#D2F2A6#D2F2A6

#D2F2A6 is a very light, moderate yellow-green. Relative luminance 0.800; OKLCH L 92.0% C 0.104 H 126.9°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#D2F2A6
RGBrgb(210, 242, 166)
HSLhsl(85, 75%, 80%)
HSVhsv(85, 31%, 95%)
CMYKcmyk(13.2%, 0%, 31.4%, 5.1%)
CIE-LABlab(91.67, -23.08, 33.35)
CIE-LCHlch(91.67, 40.56, 124.69°)
OKLaboklab(92% -0.0625 0.0833)
OKLCHoklch(92% 0.104 126.9)
XYZxyz(65.2125, 79.9586, 48.0669)
Luminance0.7996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F2A6 #C6A6F2
analogous
#F2ECA6 #D2F2A6 #ACF2A6
triadic
#D2F2A6 #A6D2F2 #F2A6D2
tetradic
#D2F2A6 #A6F2EC #C6A6F2 #F2A6AC
square
#D2F2A6 #A6F2EC #C6A6F2 #F2A6AC
split-complementary
#D2F2A6 #A6ACF2 #ECA6F2
monochromatic
#9CE23B #B7EA71 #D2F2A6 #EDFADB #F2FBE4

Accessibility & contrast

On white

1.24
#D2F2A6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#D2F2A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F2A6
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F2A6#FFFFFF#000000##000000
##D2F2A61.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE8A1
Deuteranopia (green-blind)
#F5E7AA
Tritanopia (blue-blind)
#D6EBDE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d2f2a6;
/* rgb */ color: rgb(210, 242, 166);
/* oklch */ color: oklch(92.0% 0.104 126.9);
Tailwind
colors: {
  custom: {
    50: '#e0f6c1',
    500: '#d2f2a6',
    950: '#000000',
  },
}
SCSS
$custom: #d2f2a6;
$custom-light: #e0f6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f2a6",
  "rgb": {
    "r": 210,
    "g": 242,
    "b": 166
  },
  "hsl": {
    "h": 85.263,
    "s": 74.51,
    "l": 80
  },
  "oklch": {
    "l": 0.91999,
    "c": 0.10419,
    "h": 126.9
  },
  "luminance": 0.79959
}

Semantic roles & 50–950 ramp

primary
#D2F2A6
secondary
#966CD1
accent
#0FD763
background
#FEFFFD
surface
#FCFEF9
border
#D5D6D2
text
#151712
muted
#848582

Preview Lab

Preview with #D2F2A6

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

Preview Lab → · Contrast checker → · Palette generator →

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