#9CB72A#9CB72A

#9CB72A is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 73.4% C 0.161 H 120.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#9CB72A
RGBrgb(156, 183, 42)
HSLhsl(71, 63%, 44%)
HSVhsv(71, 77%, 72%)
CMYKcmyk(14.8%, 0%, 77%, 28.2%)
CIE-LABlab(70.25, -27.35, 63.27)
CIE-LCHlch(70.25, 68.93, 113.38°)
OKLaboklab(73.42% -0.0813 0.1391)
OKLCHoklch(73.42% 0.161 120.3)
XYZxyz(31.0623, 41.1022, 8.4871)
Luminance0.4110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB72A #452AB7
analogous
#B78C2A #9CB72A #56B72A
triadic
#9CB72A #2A9CB7 #B72A9C
tetradic
#9CB72A #2AB78C #452AB7 #B72A56
square
#9CB72A #2AB78C #452AB7 #B72A56
split-complementary
#9CB72A #2A56B7 #8C2AB7
monochromatic
#475313 #72851F #9CB72A #BAD549 #CDE17B

Accessibility & contrast

On white

2.28
#9CB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#9CB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB72A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB72A#FFFFFF#000000##000000
##9CB72A1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC01
Deuteranopia (green-blind)
#C0AC37
Tritanopia (blue-blind)
#A5AD9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9cb72a;
/* rgb */ color: rgb(156, 183, 42);
/* oklch */ color: oklch(73.4% 0.161 120.3);
Tailwind
colors: {
  custom: {
    50: '#bdcc6f',
    500: '#9cb72a',
    950: '#000000',
  },
}
SCSS
$custom: #9cb72a;
$custom-light: #bdcc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb72a",
  "rgb": {
    "r": 156,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 71.489,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73419,
    "c": 0.1611,
    "h": 120.3
  },
  "luminance": 0.41102
}

Semantic roles & 50–950 ramp

primary
#9CB72A
secondary
#8474C9
accent
#42E661
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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