#D2F17C#D2F17C

#D2F17C is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.1% C 0.148 H 121.6°. Best body text is #000000 at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#D2F17C
RGBrgb(210, 241, 124)
HSLhsl(76, 81%, 72%)
HSVhsv(76, 49%, 95%)
CMYKcmyk(12.9%, 0%, 48.5%, 5.5%)
CIE-LABlab(90.81, -27.53, 52.75)
CIE-LCHlch(90.81, 59.50, 117.56°)
OKLaboklab(91.12% -0.0774 0.1257)
OKLCHoklch(91.12% 0.148 121.6)
XYZxyz(61.6720, 78.0675, 30.8844)
Luminance0.7807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F17C #9B7CF1
analogous
#F1D57C #D2F17C #98F17C
triadic
#D2F17C #7CD2F1 #F17CD2
tetradic
#D2F17C #7CF1D5 #9B7CF1 #F17C98
square
#D2F17C #7CF1D5 #9B7CF1 #F17C98
split-complementary
#D2F17C #7C98F1 #D57CF1
monochromatic
#A7DB17 #BFEB45 #D2F17C #E5F7B3 #F6FCE3

Accessibility & contrast

On white

1.26
#D2F17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.61
#D2F17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F17C
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F17C#FFFFFF#000000##000000
##D2F17C1.001.2616.6116.61
#FFFFFF1.261.0021.0021.00
#00000016.6121.001.001.00
##00000016.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE572
Deuteranopia (green-blind)
#F9E583
Tritanopia (blue-blind)
#DBE7D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d2f17c;
/* rgb */ color: rgb(210, 241, 124);
/* oklch */ color: oklch(91.1% 0.148 121.6);
Tailwind
colors: {
  custom: {
    50: '#e2f5a4',
    500: '#d2f17c',
    950: '#000000',
  },
}
SCSS
$custom: #d2f17c;
$custom-light: #e2f5a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f17c",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 124
  },
  "hsl": {
    "h": 75.897,
    "s": 80.69,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91122,
    "c": 0.14765,
    "h": 121.6
  },
  "luminance": 0.78067
}

Semantic roles & 50–950 ramp

primary
#D2F17C
secondary
#6946CB
accent
#08DD41
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F17C

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

Preview Lab → · Contrast checker → · Palette generator →

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