#9BB157#9BB157

#9BB157 is a light, moderate yellow-green. Relative luminance 0.391; OKLCH L 72.4% C 0.119 H 120.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#9BB157
RGBrgb(155, 177, 87)
HSLhsl(75, 37%, 52%)
HSVhsv(75, 51%, 69%)
CMYKcmyk(12.4%, 0%, 50.8%, 30.6%)
CIE-LABlab(68.82, -21.60, 43.11)
CIE-LCHlch(68.82, 48.22, 116.61°)
OKLaboklab(72.38% -0.061 0.1023)
OKLCHoklch(72.38% 0.119 120.8)
XYZxyz(30.9602, 39.1010, 14.9312)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB157 #6D57B1
analogous
#B19A57 #9BB157 #6EB157
triadic
#9BB157 #579BB1 #B1579B
tetradic
#9BB157 #57B19A #6D57B1 #B1576E
square
#9BB157 #57B19A #6D57B1 #B1576E
split-complementary
#9BB157 #576EB1 #9A57B1
monochromatic
#54612D #788A40 #9BB157 #B4C481 #CDD8AB

Accessibility & contrast

On white

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

On black

8.82
#9BB157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB157
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB157#FFFFFF#000000##000000
##9BB1571.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bb157;
/* rgb */ color: rgb(155, 177, 87);
/* oklch */ color: oklch(72.4% 0.119 120.8);
Tailwind
colors: {
  custom: {
    50: '#bac889',
    500: '#9bb157',
    950: '#000000',
  },
}
SCSS
$custom: #9bb157;
$custom-light: #bac889;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb157",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 74.667,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72375,
    "c": 0.11913,
    "h": 120.8
  },
  "luminance": 0.39101
}

Semantic roles & 50–950 ramp

primary
#9BB157
secondary
#A89EC6
accent
#5BCD77
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9BB157

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

Preview Lab → · Contrast checker → · Palette generator →

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