#9CB52A#9CB52A

#9CB52A is a light, vivid yellow-green. Relative luminance 0.403; OKLCH L 73.0% C 0.159 H 119.7°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#9CB52A
RGBrgb(156, 181, 42)
HSLhsl(71, 62%, 44%)
HSVhsv(71, 77%, 71%)
CMYKcmyk(13.8%, 0%, 76.8%, 29%)
CIE-LABlab(69.67, -26.39, 62.73)
CIE-LCHlch(69.67, 68.06, 112.81°)
OKLaboklab(72.95% -0.0786 0.138)
OKLCHoklch(72.95% 0.159 119.7)
XYZxyz(30.6527, 40.2830, 8.3506)
Luminance0.4028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB52A #432AB5
analogous
#B5882A #9CB52A #56B52A
triadic
#9CB52A #2A9CB5 #B52A9C
tetradic
#9CB52A #2AB588 #432AB5 #B52A56
square
#9CB52A #2AB588 #432AB5 #B52A56
split-complementary
#9CB52A #2A56B5 #882AB5
monochromatic
#465213 #71831E #9CB52A #BBD448 #CEE079

Accessibility & contrast

On white

2.32
#9CB52A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#9CB52A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB52A
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB52A#FFFFFF#000000##000000
##9CB52A1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA03
Deuteranopia (green-blind)
#BEAB37
Tritanopia (blue-blind)
#A5AB9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9cb52a;
/* rgb */ color: rgb(156, 181, 42);
/* oklch */ color: oklch(73.0% 0.159 119.7);
Tailwind
colors: {
  custom: {
    50: '#bdcb6f',
    500: '#9cb52a',
    950: '#000000',
  },
}
SCSS
$custom: #9cb52a;
$custom-light: #bdcb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb52a",
  "rgb": {
    "r": 156,
    "g": 181,
    "b": 42
  },
  "hsl": {
    "h": 70.791,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72954,
    "c": 0.15879,
    "h": 119.7
  },
  "luminance": 0.40283
}

Semantic roles & 50–950 ramp

primary
#9CB52A
secondary
#8273C8
accent
#42E560
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB52A

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

Preview Lab → · Contrast checker → · Palette generator →

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