#D2F17A#D2F17A

#D2F17A is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 91.1% C 0.150 H 121.5°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#D2F17A
RGBrgb(210, 241, 122)
HSLhsl(76, 81%, 71%)
HSVhsv(76, 49%, 95%)
CMYKcmyk(12.9%, 0%, 49.4%, 5.5%)
CIE-LABlab(90.79, -27.72, 53.65)
CIE-LCHlch(90.79, 60.39, 117.32°)
OKLaboklab(91.1% -0.0781 0.1276)
OKLCHoklch(91.1% 0.15 121.5)
XYZxyz(61.5468, 78.0174, 30.2250)
Luminance0.7802 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F17A #997AF1
analogous
#F1D47A #D2F17A #96F17A
triadic
#D2F17A #7AD2F1 #F17AD2
tetradic
#D2F17A #7AF1D4 #997AF1 #F17A96
square
#D2F17A #7AF1D4 #997AF1 #F17A96
split-complementary
#D2F17A #7A96F1 #D47AF1
monochromatic
#A7DA17 #BFEB43 #D2F17A #E5F7B1 #F6FCE3

Accessibility & contrast

On white

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

On black

16.60
#D2F17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F17A
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F17A#FFFFFF#000000##000000
##D2F17A1.001.2616.6016.60
#FFFFFF1.261.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f17a;
/* rgb */ color: rgb(210, 241, 122);
/* oklch */ color: oklch(91.1% 0.150 121.5);
Tailwind
colors: {
  custom: {
    50: '#e2f5a3',
    500: '#d2f17a',
    950: '#000000',
  },
}
SCSS
$custom: #d2f17a;
$custom-light: #e2f5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f17a",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 75.63,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91097,
    "c": 0.14959,
    "h": 121.5
  },
  "luminance": 0.78017
}

Semantic roles & 50–950 ramp

primary
#D2F17A
secondary
#6744CB
accent
#08DD40
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F17A

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

Preview Lab → · Contrast checker → · Palette generator →

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