#9CB151#9CB151

#9CB151 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.4% C 0.125 H 119.9°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#9CB151
RGBrgb(156, 177, 81)
HSLhsl(73, 38%, 51%)
HSVhsv(73, 54%, 69%)
CMYKcmyk(11.9%, 0%, 54.2%, 30.6%)
CIE-LABlab(68.83, -21.77, 46.03)
CIE-LCHlch(68.83, 50.92, 115.31°)
OKLaboklab(72.37% -0.0621 0.1081)
OKLCHoklch(72.37% 0.125 119.9)
XYZxyz(30.9180, 39.1064, 13.7025)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB151 #6651B1
analogous
#B19651 #9CB151 #6CB151
triadic
#9CB151 #519CB1 #B1519C
tetradic
#9CB151 #51B196 #6651B1 #B1516C
square
#9CB151 #51B196 #6651B1 #B1516C
split-complementary
#9CB151 #516CB1 #9651B1
monochromatic
#525E2A #77883D #9CB151 #B4C47B #CCD7A6

Accessibility & contrast

On white

2.38
#9CB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#9CB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB151
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB151#FFFFFF#000000##000000
##9CB1511.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA848
Deuteranopia (green-blind)
#B8A857
Tritanopia (blue-blind)
#A4A99C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb151;
/* rgb */ color: rgb(156, 177, 81);
/* oklch */ color: oklch(72.4% 0.125 119.9);
Tailwind
colors: {
  custom: {
    50: '#bbc885',
    500: '#9cb151',
    950: '#000000',
  },
}
SCSS
$custom: #9cb151;
$custom-light: #bbc885;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb151",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 73.125,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72374,
    "c": 0.12469,
    "h": 119.9
  },
  "luminance": 0.39106
}

Semantic roles & 50–950 ramp

primary
#9CB151
secondary
#A39AC4
accent
#5ACE73
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9CB151

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

Preview Lab → · Contrast checker → · Palette generator →

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