#9CC040#9CC040

#9CC040 is a light, vivid yellow-green. Relative luminance 0.451; OKLCH L 75.7% C 0.158 H 123.7°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#9CC040
RGBrgb(156, 192, 64)
HSLhsl(77, 50%, 50%)
HSVhsv(77, 67%, 75%)
CMYKcmyk(18.7%, 0%, 66.7%, 24.7%)
CIE-LABlab(72.98, -30.41, 58.07)
CIE-LCHlch(72.98, 65.55, 117.64°)
OKLaboklab(75.67% -0.0878 0.1316)
OKLCHoklch(75.67% 0.158 123.7)
XYZxyz(33.4856, 45.1371, 11.7977)
Luminance0.4514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC040 #6440C0
analogous
#C0A440 #9CC040 #5CC040
triadic
#9CC040 #409CC0 #C0409C
tetradic
#9CC040 #40C0A4 #6440C0 #C0405C
square
#9CC040 #40C0A4 #6440C0 #C0405C
split-complementary
#9CC040 #405CC0 #A440C0
monochromatic
#526421 #779230 #9CC040 #B4CF6E #CCDE9C

Accessibility & contrast

On white

2.09
#9CC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#9CC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC040
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC040#FFFFFF#000000##000000
##9CC0401.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42E
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#A3B7A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #9cc040;
/* rgb */ color: rgb(156, 192, 64);
/* oklch */ color: oklch(75.7% 0.158 123.7);
Tailwind
colors: {
  custom: {
    50: '#bcd37c',
    500: '#9cc040',
    950: '#000000',
  },
}
SCSS
$custom: #9cc040;
$custom-light: #bcd37c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc040",
  "rgb": {
    "r": 156,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 76.875,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7567,
    "c": 0.15824,
    "h": 123.7
  },
  "luminance": 0.45137
}

Semantic roles & 50–950 ramp

primary
#9CC040
secondary
#A191CB
accent
#4EDA75
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9CC040

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

Preview Lab → · Contrast checker → · Palette generator →

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