#9CB157#9CB157

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

Color values

HEX#9CB157
RGBrgb(156, 177, 87)
HSLhsl(74, 37%, 52%)
HSVhsv(74, 51%, 69%)
CMYKcmyk(11.9%, 0%, 50.8%, 30.6%)
CIE-LABlab(68.90, -21.19, 43.22)
CIE-LCHlch(68.90, 48.13, 116.12°)
OKLaboklab(72.45% -0.0599 0.1025)
OKLCHoklch(72.45% 0.119 120.3)
XYZxyz(31.1530, 39.2004, 14.9402)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB157 #6C57B1
analogous
#B19957 #9CB157 #6FB157
triadic
#9CB157 #579CB1 #B1579C
tetradic
#9CB157 #57B199 #6C57B1 #B1576F
square
#9CB157 #57B199 #6C57B1 #B1576F
split-complementary
#9CB157 #576FB1 #9957B1
monochromatic
#55612D #798A40 #9CB157 #B5C481 #CDD8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB157#FFFFFF#000000##000000
##9CB1571.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA84F
Deuteranopia (green-blind)
#B8A85C
Tritanopia (blue-blind)
#A3A99C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb157;
/* rgb */ color: rgb(156, 177, 87);
/* oklch */ color: oklch(72.5% 0.119 120.3);
Tailwind
colors: {
  custom: {
    50: '#bbc889',
    500: '#9cb157',
    950: '#000000',
  },
}
SCSS
$custom: #9cb157;
$custom-light: #bbc889;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb157",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 74,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72451,
    "c": 0.11877,
    "h": 120.3
  },
  "luminance": 0.392
}

Semantic roles & 50–950 ramp

primary
#9CB157
secondary
#A79EC6
accent
#5BCD76
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9CB157

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

Preview Lab → · Contrast checker → · Palette generator →

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