#D2F771#D2F771

#D2F771 is a very light, vivid yellow-green. Relative luminance 0.814; OKLCH L 92.3% C 0.166 H 122.5°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#D2F771
RGBrgb(210, 247, 113)
HSLhsl(77, 89%, 71%)
HSVhsv(77, 54%, 97%)
CMYKcmyk(15%, 0%, 54.3%, 3.1%)
CIE-LABlab(92.32, -31.34, 59.53)
CIE-LCHlch(92.32, 67.28, 117.77°)
OKLaboklab(92.29% -0.0891 0.1396)
OKLCHoklch(92.29% 0.166 122.5)
XYZxyz(62.8201, 81.4153, 28.0248)
Luminance0.8142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F771 #9671F7
analogous
#F7D971 #D2F771 #8FF771
triadic
#D2F771 #71D2F7 #F771D2
tetradic
#D2F771 #71F7D9 #9671F7 #F7718F
square
#D2F771 #71F7D9 #9671F7 #F7718F
split-complementary
#D2F771 #718FF7 #D971F7
monochromatic
#A6E10D #C0F437 #D2F771 #E4FAAB #F6FDE2

Accessibility & contrast

On white

1.22
#D2F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#D2F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F771
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F771#FFFFFF#000000##000000
##D2F7711.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#DBECD9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #d2f771;
/* rgb */ color: rgb(210, 247, 113);
/* oklch */ color: oklch(92.3% 0.166 122.5);
Tailwind
colors: {
  custom: {
    50: '#e2fa9d',
    500: '#d2f771',
    950: '#000000',
  },
}
SCSS
$custom: #d2f771;
$custom-light: #e2fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f771",
  "rgb": {
    "r": 210,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 76.567,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92294,
    "c": 0.16558,
    "h": 122.5
  },
  "luminance": 0.81415
}

Semantic roles & 50–950 ramp

primary
#D2F771
secondary
#643AD2
accent
#00E63F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F771

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

Preview Lab → · Contrast checker → · Palette generator →

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