#9CB162#9CB162

#9CB162 is a light, moderate yellow-green. Relative luminance 0.394; OKLCH L 72.6% C 0.107 H 121.3°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9CB162
RGBrgb(156, 177, 98)
HSLhsl(76, 34%, 54%)
HSVhsv(76, 45%, 69%)
CMYKcmyk(11.9%, 0%, 44.6%, 30.6%)
CIE-LABlab(69.04, -20.02, 37.89)
CIE-LCHlch(69.04, 42.86, 117.85°)
OKLaboklab(72.61% -0.0557 0.0916)
OKLCHoklch(72.61% 0.107 121.3)
XYZxyz(31.6371, 39.3941, 17.4900)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB162 #7762B1
analogous
#B19F62 #9CB162 #75B162
triadic
#9CB162 #629CB1 #B1629C
tetradic
#9CB162 #62B19F #7762B1 #B16275
square
#9CB162 #62B19F #7762B1 #B16275
split-complementary
#9CB162 #6275B1 #9F62B1
monochromatic
#586633 #7C8F47 #9CB162 #B6C58B #D0DAB4

Accessibility & contrast

On white

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

On black

8.88
#9CB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB162
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB162#FFFFFF#000000##000000
##9CB1621.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA95C
Deuteranopia (green-blind)
#B7A966
Tritanopia (blue-blind)
#A2AA9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb162;
/* rgb */ color: rgb(156, 177, 98);
/* oklch */ color: oklch(72.6% 0.107 121.3);
Tailwind
colors: {
  custom: {
    50: '#bac890',
    500: '#9cb162',
    950: '#000000',
  },
}
SCSS
$custom: #9cb162;
$custom-light: #bac890;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb162",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 75.949,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72608,
    "c": 0.10716,
    "h": 121.3
  },
  "luminance": 0.39394
}

Semantic roles & 50–950 ramp

primary
#9CB162
secondary
#B0A7C8
accent
#5ECA7B
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130D
muted
#81827D

Preview Lab

Preview with #9CB162

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

Preview Lab → · Contrast checker → · Palette generator →

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