#9CB332#9CB332

#9CB332 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.5% C 0.152 H 119.2°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#9CB332
RGBrgb(156, 179, 50)
HSLhsl(71, 56%, 45%)
HSVhsv(71, 72%, 70%)
CMYKcmyk(12.8%, 0%, 72.1%, 29.8%)
CIE-LABlab(69.14, -25.02, 59.52)
CIE-LCHlch(69.14, 64.56, 112.80°)
OKLaboklab(72.54% -0.0742 0.1325)
OKLCHoklch(72.54% 0.152 119.2)
XYZxyz(30.4067, 39.5386, 9.0469)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB332 #4932B3
analogous
#B38A32 #9CB332 #5BB332
triadic
#9CB332 #329CB3 #B3329C
tetradic
#9CB332 #32B38A #4932B3 #B3325B
square
#9CB332 #32B38A #4932B3 #B3325B
split-complementary
#9CB332 #325BB3 #8A32B3
monochromatic
#495317 #728325 #9CB332 #B9CF53 #CCDC83

Accessibility & contrast

On white

2.36
#9CB332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#9CB332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB332
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB332#FFFFFF#000000##000000
##9CB3321.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91A
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#A5A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb332;
/* rgb */ color: rgb(156, 179, 50);
/* oklch */ color: oklch(72.5% 0.152 119.2);
Tailwind
colors: {
  custom: {
    50: '#bcc973',
    500: '#9cb332',
    950: '#000000',
  },
}
SCSS
$custom: #9cb332;
$custom-light: #bcc973;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb332",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 70.698,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72541,
    "c": 0.15188,
    "h": 119.2
  },
  "luminance": 0.39538
}

Semantic roles & 50–950 ramp

primary
#9CB332
secondary
#887BC6
accent
#48E063
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB332

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

Preview Lab → · Contrast checker → · Palette generator →

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