#9BB12F#9BB12F

#9BB12F is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 72.0% C 0.152 H 118.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#9BB12F
RGBrgb(155, 177, 47)
HSLhsl(70, 58%, 44%)
HSVhsv(70, 73%, 69%)
CMYKcmyk(12.4%, 0%, 73.4%, 30.6%)
CIE-LABlab(68.47, -24.61, 59.92)
CIE-LCHlch(68.47, 64.77, 112.33°)
OKLaboklab(71.98% -0.0733 0.1329)
OKLCHoklch(71.98% 0.152 118.9)
XYZxyz(29.7534, 38.6183, 8.5754)
Luminance0.3862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB12F #452FB1
analogous
#B1862F #9BB12F #5AB12F
triadic
#9BB12F #2F9BB1 #B12F9B
tetradic
#9BB12F #2FB186 #452FB1 #B12F5A
square
#9BB12F #2FB186 #452FB1 #B12F5A
split-complementary
#9BB12F #2F5AB1 #862FB1
monochromatic
#465015 #718122 #9BB12F #BAD04D #CDDD7E

Accessibility & contrast

On white

2.41
#9BB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#9BB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB12F
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB12F#FFFFFF#000000##000000
##9BB12F1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA715
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#A4A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9bb12f;
/* rgb */ color: rgb(155, 177, 47);
/* oklch */ color: oklch(72.0% 0.152 118.9);
Tailwind
colors: {
  custom: {
    50: '#bcc871',
    500: '#9bb12f',
    950: '#000000',
  },
}
SCSS
$custom: #9bb12f;
$custom-light: #bcc871;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb12f",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 70.154,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.71981,
    "c": 0.15176,
    "h": 118.9
  },
  "luminance": 0.38618
}

Semantic roles & 50–950 ramp

primary
#9BB12F
secondary
#8476C5
accent
#47E161
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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