#9CB158#9CB158

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

Color values

HEX#9CB158
RGBrgb(156, 177, 88)
HSLhsl(74, 36%, 52%)
HSVhsv(74, 50%, 69%)
CMYKcmyk(11.9%, 0%, 50.3%, 30.6%)
CIE-LABlab(68.91, -21.09, 42.74)
CIE-LCHlch(68.91, 47.66, 116.27°)
OKLaboklab(72.46% -0.0596 0.1016)
OKLCHoklch(72.46% 0.118 120.4)
XYZxyz(31.1941, 39.2169, 15.1569)
Luminance0.3922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB158 #6D58B1
analogous
#B19A58 #9CB158 #70B158
triadic
#9CB158 #589CB1 #B1589C
tetradic
#9CB158 #58B19A #6D58B1 #B15870
square
#9CB158 #58B19A #6D58B1 #B15870
split-complementary
#9CB158 #5870B1 #9A58B1
monochromatic
#55612D #798B41 #9CB158 #B5C482 #CDD8AB

Accessibility & contrast

On white

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

On black

8.84
#9CB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB158
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB158#FFFFFF#000000##000000
##9CB1581.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cb158;
/* rgb */ color: rgb(156, 177, 88);
/* oklch */ color: oklch(72.5% 0.118 120.4);
Tailwind
colors: {
  custom: {
    50: '#bbc889',
    500: '#9cb158',
    950: '#000000',
  },
}
SCSS
$custom: #9cb158;
$custom-light: #bbc889;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb158",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 74.157,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72464,
    "c": 0.11775,
    "h": 120.4
  },
  "luminance": 0.39217
}

Semantic roles & 50–950 ramp

primary
#9CB158
secondary
#A89FC6
accent
#5BCC76
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9CB158

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

Preview Lab → · Contrast checker → · Palette generator →

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