#9CC940#9CC940

#9CC940 is a light, vivid yellow-green. Relative luminance 0.492; OKLCH L 77.8% C 0.169 H 125.9°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#9CC940
RGBrgb(156, 201, 64)
HSLhsl(80, 56%, 52%)
HSVhsv(80, 68%, 79%)
CMYKcmyk(22.4%, 0%, 68.2%, 21.2%)
CIE-LABlab(75.58, -34.59, 60.76)
CIE-LCHlch(75.58, 69.92, 119.66°)
OKLaboklab(77.77% -0.0993 0.1373)
OKLCHoklch(77.77% 0.169 125.9)
XYZxyz(35.5225, 49.2109, 12.4767)
Luminance0.4921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC940 #6D40C9
analogous
#C9B140 #9CC940 #58C940
triadic
#9CC940 #409CC9 #C9409C
tetradic
#9CC940 #40C9B1 #6D40C9 #C94058
square
#9CC940 #40C9B1 #6D40C9 #C94058
split-complementary
#9CC940 #4058C9 #B140C9
monochromatic
#556F1F #799F2D #9CC940 #B5D670 #CDE49F

Accessibility & contrast

On white

1.94
#9CC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#9CC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC940
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC940#FFFFFF#000000##000000
##9CC9401.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#CDBA4B
Tritanopia (blue-blind)
#A2C0AE
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9cc940;
/* rgb */ color: rgb(156, 201, 64);
/* oklch */ color: oklch(77.8% 0.169 125.9);
Tailwind
colors: {
  custom: {
    50: '#bdd97c',
    500: '#9cc940',
    950: '#000000',
  },
}
SCSS
$custom: #9cc940;
$custom-light: #bdd97c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc940",
  "rgb": {
    "r": 156,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 79.708,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77772,
    "c": 0.16947,
    "h": 125.9
  },
  "luminance": 0.49211
}

Semantic roles & 50–950 ramp

primary
#9CC940
secondary
#A894D0
accent
#49DF7A
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9CC940

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

Preview Lab → · Contrast checker → · Palette generator →

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