#9CAB5B#9CAB5B

#9CAB5B is a light, moderate yellow-green. Relative luminance 0.369; OKLCH L 71.1% C 0.106 H 117.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#9CAB5B
RGBrgb(156, 171, 91)
HSLhsl(71, 32%, 51%)
HSVhsv(71, 47%, 67%)
CMYKcmyk(8.8%, 0%, 46.8%, 32.9%)
CIE-LABlab(67.24, -17.75, 39.22)
CIE-LCHlch(67.24, 43.05, 114.34°)
OKLaboklab(71.14% -0.0498 0.0941)
OKLCHoklch(71.14% 0.106 117.9)
XYZxyz(30.1618, 36.9493, 15.4385)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB5B #6A5BAB
analogous
#AB925B #9CAB5B #74AB5B
triadic
#9CAB5B #5B9CAB #AB5B9C
tetradic
#9CAB5B #5BAB92 #6A5BAB #AB5B74
square
#9CAB5B #5BAB92 #6A5BAB #AB5B74
split-complementary
#9CAB5B #5B74AB #925BAB
monochromatic
#545C2F #798544 #9CAB5B #B4C083 #CDD4AC

Accessibility & contrast

On white

2.50
#9CAB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#9CAB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB5B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB5B#FFFFFF#000000##000000
##9CAB5B1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A354
Deuteranopia (green-blind)
#B3A45F
Tritanopia (blue-blind)
#A3A398
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9cab5b;
/* rgb */ color: rgb(156, 171, 91);
/* oklch */ color: oklch(71.1% 0.106 117.9);
Tailwind
colors: {
  custom: {
    50: '#bac48b',
    500: '#9cab5b',
    950: '#000000',
  },
}
SCSS
$custom: #9cab5b;
$custom-light: #bac48b;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab5b",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 91
  },
  "hsl": {
    "h": 71.25,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.71139,
    "c": 0.10644,
    "h": 117.9
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

primary
#9CAB5B
secondary
#A69FC3
accent
#5FC873
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9CAB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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