#D2F172#D2F172

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

Color values

HEX#D2F172
RGBrgb(210, 241, 114)
HSLhsl(75, 82%, 70%)
HSVhsv(75, 53%, 95%)
CMYKcmyk(12.9%, 0%, 52.7%, 5.5%)
CIE-LABlab(90.70, -28.46, 57.21)
CIE-LCHlch(90.70, 63.90, 116.45°)
OKLaboklab(91% -0.0809 0.1347)
OKLCHoklch(91% 0.157 121)
XYZxyz(61.0714, 77.8272, 27.7211)
Luminance0.7783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F172 #9172F1
analogous
#F1D172 #D2F172 #93F172
triadic
#D2F172 #72D2F1 #F172D2
tetradic
#D2F172 #72F1D1 #9172F1 #F17293
square
#D2F172 #72F1D1 #9172F1 #F17293
split-complementary
#D2F172 #7293F1 #D172F1
monochromatic
#A5D415 #C0EB3A #D2F172 #E4F7AA #F6FCE1

Accessibility & contrast

On white

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

On black

16.57
#D2F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F172
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F172#FFFFFF#000000##000000
##D2F1721.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#FAE57A
Tritanopia (blue-blind)
#DBE6D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f172;
/* rgb */ color: rgb(210, 241, 114);
/* oklch */ color: oklch(91.0% 0.157 121.0);
Tailwind
colors: {
  custom: {
    50: '#e2f59e',
    500: '#d2f172',
    950: '#000000',
  },
}
SCSS
$custom: #d2f172;
$custom-light: #e2f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f172",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 74.646,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90999,
    "c": 0.15708,
    "h": 121
  },
  "luminance": 0.77827
}

Semantic roles & 50–950 ramp

primary
#D2F172
secondary
#5F3DCA
accent
#07DE3C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F172

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

Preview Lab → · Contrast checker → · Palette generator →

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