#9BB42A#9BB42A

#9BB42A is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.6% C 0.158 H 119.7°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#9BB42A
RGBrgb(155, 180, 42)
HSLhsl(71, 62%, 44%)
HSVhsv(71, 77%, 71%)
CMYKcmyk(13.9%, 0%, 76.7%, 29.4%)
CIE-LABlab(69.31, -26.32, 62.38)
CIE-LCHlch(69.31, 67.70, 112.88°)
OKLaboklab(72.65% -0.0784 0.1372)
OKLCHoklch(72.65% 0.158 119.7)
XYZxyz(30.2574, 39.7784, 8.2741)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB42A #432AB4
analogous
#B4882A #9BB42A #56B42A
triadic
#9BB42A #2A9BB4 #B42A9B
tetradic
#9BB42A #2AB488 #432AB4 #B42A56
square
#9BB42A #2AB488 #432AB4 #B42A56
split-complementary
#9BB42A #2A56B4 #882AB4
monochromatic
#465113 #70821E #9BB42A #BBD447 #CDE079

Accessibility & contrast

On white

2.34
#9BB42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#9BB42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB42A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB42A#FFFFFF#000000##000000
##9BB42A1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A904
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#A4AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9bb42a;
/* rgb */ color: rgb(155, 180, 42);
/* oklch */ color: oklch(72.6% 0.158 119.7);
Tailwind
colors: {
  custom: {
    50: '#bcca6f',
    500: '#9bb42a',
    950: '#000000',
  },
}
SCSS
$custom: #9bb42a;
$custom-light: #bcca6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb42a",
  "rgb": {
    "r": 155,
    "g": 180,
    "b": 42
  },
  "hsl": {
    "h": 70.87,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72647,
    "c": 0.15804,
    "h": 119.7
  },
  "luminance": 0.39778
}

Semantic roles & 50–950 ramp

primary
#9BB42A
secondary
#8272C8
accent
#43E560
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB42A

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

Preview Lab → · Contrast checker → · Palette generator →

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