#9BB12A#9BB12A

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

Color values

HEX#9BB12A
RGBrgb(155, 177, 42)
HSLhsl(70, 62%, 43%)
HSVhsv(70, 76%, 69%)
CMYKcmyk(12.4%, 0%, 76.3%, 30.6%)
CIE-LABlab(68.45, -24.86, 61.57)
CIE-LCHlch(68.45, 66.40, 111.98°)
OKLaboklab(71.95% -0.0744 0.1355)
OKLCHoklch(71.95% 0.155 118.8)
XYZxyz(29.6583, 38.5802, 8.0744)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB12A #402AB1
analogous
#B1842A #9BB12A #57B12A
triadic
#9BB12A #2A9BB1 #B12A9B
tetradic
#9BB12A #2AB184 #402AB1 #B12A57
square
#9BB12A #2AB184 #402AB1 #B12A57
split-complementary
#9BB12A #2A57B1 #842AB1
monochromatic
#444E13 #70801E #9BB12A #BCD345 #CEDF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BB12A#FFFFFF#000000##000000
##9BB12A1.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)
#BDA706
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#A4A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9bb12a;
/* rgb */ color: rgb(155, 177, 42);
/* oklch */ color: oklch(72.0% 0.155 118.8);
Tailwind
colors: {
  custom: {
    50: '#bcc86f',
    500: '#9bb12a',
    950: '#000000',
  },
}
SCSS
$custom: #9bb12a;
$custom-light: #bcc86f;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb12a",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 69.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7195,
    "c": 0.15459,
    "h": 118.8
  },
  "luminance": 0.3858
}

Semantic roles & 50–950 ramp

primary
#9BB12A
secondary
#7E70C6
accent
#43E55D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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