#9BB271#9BB271

#9BB271 is a light, moderate yellow-green. Relative luminance 0.400; OKLCH L 73.0% C 0.092 H 124.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#9BB271
RGBrgb(155, 178, 113)
HSLhsl(81, 30%, 57%)
HSVhsv(81, 37%, 70%)
CMYKcmyk(12.9%, 0%, 36.5%, 30.2%)
CIE-LABlab(69.47, -19.06, 30.66)
CIE-LCHlch(69.47, 36.10, 121.87°)
OKLaboklab(73.01% -0.052 0.0758)
OKLCHoklch(73.01% 0.092 124.5)
XYZxyz(32.4184, 40.0015, 21.6327)
Luminance0.4000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB271 #8871B2
analogous
#B2A971 #9BB271 #7BB271
triadic
#9BB271 #719BB2 #B2719B
tetradic
#9BB271 #71B2A9 #8871B2 #B2717B
square
#9BB271 #71B2A9 #8871B2 #B2717B
split-complementary
#9BB271 #717BB2 #A971B2
monochromatic
#5C6D3B #7D9551 #9BB271 #B7C899 #D3DDC0

Accessibility & contrast

On white

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

On black

9.00
#9BB271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB271
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB271#FFFFFF#000000##000000
##9BB2711.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AA6C
Deuteranopia (green-blind)
#B6A974
Tritanopia (blue-blind)
#9FACA2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9bb271;
/* rgb */ color: rgb(155, 178, 113);
/* oklch */ color: oklch(73.0% 0.092 124.5);
Tailwind
colors: {
  custom: {
    50: '#b9c99a',
    500: '#9bb271',
    950: '#000000',
  },
}
SCSS
$custom: #9bb271;
$custom-light: #b9c99a;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb271",
  "rgb": {
    "r": 155,
    "g": 178,
    "b": 113
  },
  "hsl": {
    "h": 81.231,
    "s": 29.68,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73011,
    "c": 0.0919,
    "h": 124.5
  },
  "luminance": 0.40002
}

Semantic roles & 50–950 ramp

primary
#9BB271
secondary
#BCB2CD
accent
#62C685
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#11130E
muted
#80827E

Preview Lab

Preview with #9BB271

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

Preview Lab → · Contrast checker → · Palette generator →

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