#9CB271#9CB271

#9CB271 is a light, moderate yellow-green. Relative luminance 0.401; OKLCH L 73.1% C 0.092 H 123.9°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#9CB271
RGBrgb(156, 178, 113)
HSLhsl(80, 30%, 57%)
HSVhsv(80, 37%, 70%)
CMYKcmyk(12.4%, 0%, 36.5%, 30.2%)
CIE-LABlab(69.54, -18.68, 30.77)
CIE-LCHlch(69.54, 35.99, 121.26°)
OKLaboklab(73.08% -0.051 0.076)
OKLCHoklch(73.08% 0.092 123.9)
XYZxyz(32.6111, 40.1008, 21.6418)
Luminance0.4010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB271 #8771B2
analogous
#B2A871 #9CB271 #7CB271
triadic
#9CB271 #719CB2 #B2719C
tetradic
#9CB271 #71B2A8 #8771B2 #B2717C
square
#9CB271 #71B2A8 #8771B2 #B2717C
split-complementary
#9CB271 #717CB2 #A871B2
monochromatic
#5C6D3B #7E9551 #9CB271 #B8C899 #D3DDC0

Accessibility & contrast

On white

2.33
#9CB271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#9CB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB271
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB271#FFFFFF#000000##000000
##9CB2711.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AA6C
Deuteranopia (green-blind)
#B6AA74
Tritanopia (blue-blind)
#A0ACA2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9cb271;
/* rgb */ color: rgb(156, 178, 113);
/* oklch */ color: oklch(73.1% 0.092 123.9);
Tailwind
colors: {
  custom: {
    50: '#bac99a',
    500: '#9cb271',
    950: '#000000',
  },
}
SCSS
$custom: #9cb271;
$custom-light: #bac99a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb271",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 80.308,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73085,
    "c": 0.09151,
    "h": 123.9
  },
  "luminance": 0.40101
}

Semantic roles & 50–950 ramp

primary
#9CB271
secondary
#BBB2CD
accent
#62C684
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9CB271

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

Preview Lab → · Contrast checker → · Palette generator →

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