#9CB166#9CB166

#9CB166 is a light, moderate yellow-green. Relative luminance 0.395; OKLCH L 72.7% C 0.103 H 121.8°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#9CB166
RGBrgb(156, 177, 102)
HSLhsl(77, 32%, 55%)
HSVhsv(77, 42%, 69%)
CMYKcmyk(11.9%, 0%, 42.4%, 30.6%)
CIE-LABlab(69.09, -19.55, 35.92)
CIE-LCHlch(69.09, 40.89, 118.56°)
OKLaboklab(72.67% -0.0541 0.0873)
OKLCHoklch(72.67% 0.103 121.8)
XYZxyz(31.8307, 39.4715, 18.5097)
Luminance0.3947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB166 #7B66B1
analogous
#B1A166 #9CB166 #77B166
triadic
#9CB166 #669CB1 #B1669C
tetradic
#9CB166 #66B1A1 #7B66B1 #B16677
square
#9CB166 #66B1A1 #7B66B1 #B16677
split-complementary
#9CB166 #6677B1 #A166B1
monochromatic
#596835 #7C904A #9CB166 #B6C68F #D0DAB7

Accessibility & contrast

On white

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

On black

8.89
#9CB166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB166
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB166#FFFFFF#000000##000000
##9CB1661.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A960
Deuteranopia (green-blind)
#B6A96A
Tritanopia (blue-blind)
#A2AA9F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb166;
/* rgb */ color: rgb(156, 177, 102);
/* oklch */ color: oklch(72.7% 0.103 121.8);
Tailwind
colors: {
  custom: {
    50: '#bac893',
    500: '#9cb166',
    950: '#000000',
  },
}
SCSS
$custom: #9cb166;
$custom-light: #bac893;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb166",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 102
  },
  "hsl": {
    "h": 76.8,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.72671,
    "c": 0.10272,
    "h": 121.8
  },
  "luminance": 0.39472
}

Semantic roles & 50–950 ramp

primary
#9CB166
secondary
#B2AAC9
accent
#5FC97D
background
#FBFCF9
surface
#F6F8F1
border
#D0D1CB
text
#12130D
muted
#81827E

Preview Lab

Preview with #9CB166

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

Preview Lab → · Contrast checker → · Palette generator →

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