#9CB952#9CB952

#9CB952 is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 74.2% C 0.134 H 122.8°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#9CB952
RGBrgb(156, 185, 82)
HSLhsl(77, 42%, 52%)
HSVhsv(77, 56%, 73%)
CMYKcmyk(15.7%, 0%, 55.7%, 27.5%)
CIE-LABlab(71.13, -25.62, 48.22)
CIE-LCHlch(71.13, 54.61, 117.98°)
OKLaboklab(74.23% -0.0728 0.1129)
OKLCHoklch(74.23% 0.134 122.8)
XYZxyz(32.5824, 42.3749, 14.4437)
Luminance0.4238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB952 #6F52B9
analogous
#B9A252 #9CB952 #69B952
triadic
#9CB952 #529CB9 #B9529C
tetradic
#9CB952 #52B9A2 #6F52B9 #B95269
square
#9CB952 #52B9A2 #6F52B9 #B95269
split-complementary
#9CB952 #5269B9 #A252B9
monochromatic
#56672A #7A933B #9CB952 #B5CB7E #CEDCA9

Accessibility & contrast

On white

2.22
#9CB952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#9CB952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB952
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB952#FFFFFF#000000##000000
##9CB9521.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#BFAE58
Tritanopia (blue-blind)
#A3B1A2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9cb952;
/* rgb */ color: rgb(156, 185, 82);
/* oklch */ color: oklch(74.2% 0.134 122.8);
Tailwind
colors: {
  custom: {
    50: '#bbce86',
    500: '#9cb952',
    950: '#000000',
  },
}
SCSS
$custom: #9cb952;
$custom-light: #bbce86;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb952",
  "rgb": {
    "r": 156,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 76.893,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.74227,
    "c": 0.13437,
    "h": 122.8
  },
  "luminance": 0.42375
}

Semantic roles & 50–950 ramp

primary
#9CB952
secondary
#AA9DCA
accent
#56D279
background
#FBFCF8
surface
#F7F9F0
border
#D0D2CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #9CB952

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

Preview Lab → · Contrast checker → · Palette generator →

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