#9CB159#9CB159

#9CB159 is a light, moderate yellow-green. Relative luminance 0.392; OKLCH L 72.5% C 0.117 H 120.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#9CB159
RGBrgb(156, 177, 89)
HSLhsl(74, 36%, 52%)
HSVhsv(74, 50%, 69%)
CMYKcmyk(11.9%, 0%, 49.7%, 30.6%)
CIE-LABlab(68.92, -20.99, 42.26)
CIE-LCHlch(68.92, 47.19, 116.41°)
OKLaboklab(72.48% -0.0592 0.1006)
OKLCHoklch(72.48% 0.117 120.5)
XYZxyz(31.2358, 39.2335, 15.3765)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB159 #6E59B1
analogous
#B19A59 #9CB159 #70B159
triadic
#9CB159 #599CB1 #B1599C
tetradic
#9CB159 #59B19A #6E59B1 #B15970
square
#9CB159 #59B19A #6E59B1 #B15970
split-complementary
#9CB159 #5970B1 #9A59B1
monochromatic
#55622E #7A8B41 #9CB159 #B5C583 #CED8AC

Accessibility & contrast

On white

2.37
#9CB159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#9CB159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB159
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB159#FFFFFF#000000##000000
##9CB1591.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA851
Deuteranopia (green-blind)
#B8A85E
Tritanopia (blue-blind)
#A3A99D
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb159;
/* rgb */ color: rgb(156, 177, 89);
/* oklch */ color: oklch(72.5% 0.117 120.5);
Tailwind
colors: {
  custom: {
    50: '#bbc88a',
    500: '#9cb159',
    950: '#000000',
  },
}
SCSS
$custom: #9cb159;
$custom-light: #bbc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb159",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 74.318,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72478,
    "c": 0.11672,
    "h": 120.5
  },
  "luminance": 0.39233
}

Semantic roles & 50–950 ramp

primary
#9CB159
secondary
#A9A0C6
accent
#5CCC77
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9CB159

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

Preview Lab → · Contrast checker → · Palette generator →

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