#9CB951#9CB951

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

Color values

HEX#9CB951
RGBrgb(156, 185, 81)
HSLhsl(77, 43%, 52%)
HSVhsv(77, 56%, 73%)
CMYKcmyk(15.7%, 0%, 56.2%, 27.5%)
CIE-LABlab(71.12, -25.71, 48.67)
CIE-LCHlch(71.12, 55.05, 117.85°)
OKLaboklab(74.22% -0.0732 0.1138)
OKLCHoklch(74.22% 0.135 122.7)
XYZxyz(32.5447, 42.3598, 14.2447)
Luminance0.4236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB951 #6E51B9
analogous
#B9A251 #9CB951 #68B951
triadic
#9CB951 #519CB9 #B9519C
tetradic
#9CB951 #51B9A2 #6E51B9 #B95168
square
#9CB951 #51B9A2 #6E51B9 #B95168
split-complementary
#9CB951 #5168B9 #A251B9
monochromatic
#556629 #7A923B #9CB951 #B5CB7D #CEDCA8

Accessibility & contrast

On white

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

On black

9.47
#9CB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB951
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB951#FFFFFF#000000##000000
##9CB9511.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cb951;
/* rgb */ color: rgb(156, 185, 81);
/* oklch */ color: oklch(74.2% 0.135 122.7);
Tailwind
colors: {
  custom: {
    50: '#bbce85',
    500: '#9cb951',
    950: '#000000',
  },
}
SCSS
$custom: #9cb951;
$custom-light: #bbce85;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb951",
  "rgb": {
    "r": 156,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 76.731,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74215,
    "c": 0.13529,
    "h": 122.7
  },
  "luminance": 0.4236
}

Semantic roles & 50–950 ramp

primary
#9CB951
secondary
#A99CCA
accent
#55D278
background
#FBFCF8
surface
#F7F9EF
border
#D0D2CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9CB951

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

Preview Lab → · Contrast checker → · Palette generator →

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