#D2F170#D2F170

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

Color values

HEX#D2F170
RGBrgb(210, 241, 112)
HSLhsl(74, 82%, 69%)
HSVhsv(74, 54%, 95%)
CMYKcmyk(12.9%, 0%, 53.5%, 5.5%)
CIE-LABlab(90.68, -28.64, 58.08)
CIE-LCHlch(90.68, 64.76, 116.25°)
OKLaboklab(90.98% -0.0816 0.1364)
OKLCHoklch(90.98% 0.159 120.9)
XYZxyz(60.9588, 77.7822, 27.1281)
Luminance0.7778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F170 #8F70F1
analogous
#F1D070 #D2F170 #92F170
triadic
#D2F170 #70D2F1 #F170D2
tetradic
#D2F170 #70F1D0 #8F70F1 #F17092
square
#D2F170 #70F1D0 #8F70F1 #F17092
split-complementary
#D2F170 #7092F1 #D070F1
monochromatic
#A5D215 #C0EC38 #D2F170 #E4F6A8 #F5FCDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2F170#FFFFFF#000000##000000
##D2F1701.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)
#FEE563
Deuteranopia (green-blind)
#FAE578
Tritanopia (blue-blind)
#DCE6D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f170;
/* rgb */ color: rgb(210, 241, 112);
/* oklch */ color: oklch(91.0% 0.159 120.9);
Tailwind
colors: {
  custom: {
    50: '#e2f59d',
    500: '#d2f170',
    950: '#000000',
  },
}
SCSS
$custom: #d2f170;
$custom-light: #e2f59d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f170",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 74.419,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.90976,
    "c": 0.1589,
    "h": 120.9
  },
  "luminance": 0.77782
}

Semantic roles & 50–950 ramp

primary
#D2F170
secondary
#5D3BCA
accent
#07DF3B
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D2F170

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

Preview Lab → · Contrast checker → · Palette generator →

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