#9CB342#9CB342

#9CB342 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.7% C 0.140 H 119.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#9CB342
RGBrgb(156, 179, 66)
HSLhsl(72, 46%, 48%)
HSVhsv(72, 63%, 70%)
CMYKcmyk(12.8%, 0%, 63.1%, 29.8%)
CIE-LABlab(69.26, -24.00, 53.30)
CIE-LCHlch(69.26, 58.46, 114.24°)
OKLaboklab(72.67% -0.0698 0.1219)
OKLCHoklch(72.67% 0.14 119.8)
XYZxyz(30.8142, 39.7016, 11.1930)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB342 #5942B3
analogous
#B39142 #9CB342 #64B342
triadic
#9CB342 #429CB3 #B3429C
tetradic
#9CB342 #42B391 #5942B3 #B34264
square
#9CB342 #42B391 #5942B3 #B34264
split-complementary
#9CB342 #4264B3 #9142B3
monochromatic
#4E5A21 #758632 #9CB342 #B5C86A #CBD997

Accessibility & contrast

On white

2.35
#9CB342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#9CB342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB342
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB342#FFFFFF#000000##000000
##9CB3421.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA934
Deuteranopia (green-blind)
#BBA94A
Tritanopia (blue-blind)
#A4AA9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb342;
/* rgb */ color: rgb(156, 179, 66);
/* oklch */ color: oklch(72.7% 0.140 119.8);
Tailwind
colors: {
  custom: {
    50: '#bcc97c',
    500: '#9cb342',
    950: '#000000',
  },
}
SCSS
$custom: #9cb342;
$custom-light: #bcc97c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb342",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 66
  },
  "hsl": {
    "h": 72.212,
    "s": 46.122,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72672,
    "c": 0.14047,
    "h": 119.8
  },
  "luminance": 0.39701
}

Semantic roles & 50–950 ramp

primary
#9CB342
secondary
#988CC4
accent
#52D66D
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9CB342

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

Preview Lab → · Contrast checker → · Palette generator →

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