#9BB12D#9BB12D

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

Color values

HEX#9BB12D
RGBrgb(155, 177, 45)
HSLhsl(70, 59%, 44%)
HSVhsv(70, 75%, 69%)
CMYKcmyk(12.4%, 0%, 74.6%, 30.6%)
CIE-LABlab(68.46, -24.71, 60.59)
CIE-LCHlch(68.46, 65.44, 112.19°)
OKLaboklab(71.97% -0.0737 0.134)
OKLCHoklch(71.97% 0.153 118.8)
XYZxyz(29.7140, 38.6025, 8.3678)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB12D #432DB1
analogous
#B1852D #9BB12D #59B12D
triadic
#9BB12D #2D9BB1 #B12D9B
tetradic
#9BB12D #2DB185 #432DB1 #B12D59
square
#9BB12D #2DB185 #432DB1 #B12D59
split-complementary
#9BB12D #2D59B1 #852DB1
monochromatic
#464F14 #708021 #9BB12D #BBD14A #CDDD7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BB12D#FFFFFF#000000##000000
##9BB12D1.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)
#BDA710
Deuteranopia (green-blind)
#BAA739
Tritanopia (blue-blind)
#A4A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9bb12d;
/* rgb */ color: rgb(155, 177, 45);
/* oklch */ color: oklch(72.0% 0.153 118.8);
Tailwind
colors: {
  custom: {
    50: '#bcc870',
    500: '#9bb12d',
    950: '#000000',
  },
}
SCSS
$custom: #9bb12d;
$custom-light: #bcc870;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb12d",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 45
  },
  "hsl": {
    "h": 70,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71968,
    "c": 0.15293,
    "h": 118.8
  },
  "luminance": 0.38602
}

Semantic roles & 50–950 ramp

primary
#9BB12D
secondary
#8274C6
accent
#45E35F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB12D

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

Preview Lab → · Contrast checker → · Palette generator →

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