#9BB151#9BB151

#9BB151 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.3% C 0.125 H 120.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#9BB151
RGBrgb(155, 177, 81)
HSLhsl(74, 38%, 51%)
HSVhsv(74, 54%, 69%)
CMYKcmyk(12.4%, 0%, 54.2%, 30.6%)
CIE-LABlab(68.76, -22.18, 45.93)
CIE-LCHlch(68.76, 51.00, 115.77°)
OKLaboklab(72.3% -0.0632 0.1079)
OKLCHoklch(72.3% 0.125 120.4)
XYZxyz(30.7252, 39.0070, 13.6934)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB151 #6751B1
analogous
#B19751 #9BB151 #6BB151
triadic
#9BB151 #519BB1 #B1519B
tetradic
#9BB151 #51B197 #6751B1 #B1516B
square
#9BB151 #51B197 #6751B1 #B1516B
split-complementary
#9BB151 #516BB1 #9751B1
monochromatic
#525E2A #77883D #9BB151 #B3C47B #CCD7A6

Accessibility & contrast

On white

2.39
#9BB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#9BB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB151
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB151#FFFFFF#000000##000000
##9BB1511.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bb151;
/* rgb */ color: rgb(155, 177, 81);
/* oklch */ color: oklch(72.3% 0.125 120.4);
Tailwind
colors: {
  custom: {
    50: '#bac885',
    500: '#9bb151',
    950: '#000000',
  },
}
SCSS
$custom: #9bb151;
$custom-light: #bac885;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb151",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 73.75,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72299,
    "c": 0.12505,
    "h": 120.4
  },
  "luminance": 0.39007
}

Semantic roles & 50–950 ramp

primary
#9BB151
secondary
#A39AC4
accent
#5ACE74
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9BB151

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

Preview Lab → · Contrast checker → · Palette generator →

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