#9CD871#9CD871

#9CD871 is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 81.8% C 0.148 H 133.5°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#9CD871
RGBrgb(156, 216, 113)
HSLhsl(95, 57%, 65%)
HSVhsv(95, 48%, 85%)
CMYKcmyk(27.8%, 0%, 47.7%, 15.3%)
CIE-LABlab(80.39, -36.92, 44.51)
CIE-LCHlch(80.39, 57.83, 129.68°)
OKLaboklab(81.82% -0.1019 0.1072)
OKLCHoklch(81.82% 0.148 133.5)
XYZxyz(41.2460, 57.3706, 24.5201)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CD871 #AD71D8
analogous
#D0D871 #9CD871 #71D87A
triadic
#9CD871 #719CD8 #D8719C
tetradic
#9CD871 #71D0D8 #AD71D8 #D87A71
square
#9CD871 #71D0D8 #AD71D8 #D87A71
split-complementary
#9CD871 #7A71D8 #D871D0
monochromatic
#5EA22D #7BCB41 #9CD871 #BDE5A1 #DFF2D1

Accessibility & contrast

On white

1.68
#9CD871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#9CD871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CD871
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CD871#FFFFFF#000000##000000
##9CD8711.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB68
Deuteranopia (green-blind)
#D6C677
Tritanopia (blue-blind)
#9DD1C0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #9cd871;
/* rgb */ color: rgb(156, 216, 113);
/* oklch */ color: oklch(81.8% 0.148 133.5);
Tailwind
colors: {
  custom: {
    50: '#bbe49c',
    500: '#9cd871',
    950: '#000000',
  },
}
SCSS
$custom: #9cd871;
$custom-light: #bbe49c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cd871",
  "rgb": {
    "r": 156,
    "g": 216,
    "b": 113
  },
  "hsl": {
    "h": 94.951,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.81819,
    "c": 0.1479,
    "h": 133.5
  },
  "luminance": 0.57372
}

Semantic roles & 50–950 ramp

primary
#9CD871
secondary
#7E47A6
accent
#21C480
background
#FDFEFC
surface
#F8FCF5
border
#D1D5CF
text
#12150E
muted
#82847F

Preview Lab

Preview with #9CD871

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

Preview Lab → · Contrast checker → · Palette generator →

#9CD871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva