#D2F171#D2F171

#D2F171 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 91.0% C 0.158 H 120.9°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#D2F171
RGBrgb(210, 241, 113)
HSLhsl(75, 82%, 69%)
HSVhsv(75, 53%, 95%)
CMYKcmyk(12.9%, 0%, 53.1%, 5.5%)
CIE-LABlab(90.69, -28.55, 57.65)
CIE-LCHlch(90.69, 64.33, 116.35°)
OKLaboklab(90.99% -0.0812 0.1355)
OKLCHoklch(90.99% 0.158 120.9)
XYZxyz(61.0148, 77.8046, 27.4230)
Luminance0.7780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F171 #9071F1
analogous
#F1D071 #D2F171 #92F171
triadic
#D2F171 #71D2F1 #F171D2
tetradic
#D2F171 #71F1D0 #9071F1 #F17192
square
#D2F171 #71F1D0 #9071F1 #F17192
split-complementary
#D2F171 #7192F1 #D071F1
monochromatic
#A5D315 #C0EC39 #D2F171 #E4F6A9 #F5FCE0

Accessibility & contrast

On white

1.27
#D2F171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.56
#D2F171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F171
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F171#FFFFFF#000000##000000
##D2F1711.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE565
Deuteranopia (green-blind)
#FAE579
Tritanopia (blue-blind)
#DCE6D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f171;
/* rgb */ color: rgb(210, 241, 113);
/* oklch */ color: oklch(91.0% 0.158 120.9);
Tailwind
colors: {
  custom: {
    50: '#e2f59d',
    500: '#d2f171',
    950: '#000000',
  },
}
SCSS
$custom: #d2f171;
$custom-light: #e2f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f171",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 113
  },
  "hsl": {
    "h": 74.531,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90987,
    "c": 0.158,
    "h": 120.9
  },
  "luminance": 0.77804
}

Semantic roles & 50–950 ramp

primary
#D2F171
secondary
#5E3CCA
accent
#07DE3B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F171

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

Preview Lab → · Contrast checker → · Palette generator →

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