#9BB731#9BB731

#9BB731 is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 73.4% C 0.158 H 120.9°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#9BB731
RGBrgb(155, 183, 49)
HSLhsl(73, 58%, 45%)
HSVhsv(73, 73%, 72%)
CMYKcmyk(15.3%, 0%, 73.2%, 28.2%)
CIE-LABlab(70.22, -27.42, 60.90)
CIE-LCHlch(70.22, 66.79, 114.24°)
OKLaboklab(73.39% -0.0809 0.1353)
OKLCHoklch(73.39% 0.158 120.9)
XYZxyz(31.0060, 41.0573, 9.1966)
Luminance0.4106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB731 #4D31B7
analogous
#B79031 #9BB731 #58B731
triadic
#9BB731 #319BB7 #B7319B
tetradic
#9BB731 #31B790 #4D31B7 #B73158
square
#9BB731 #31B790 #4D31B7 #B73158
split-complementary
#9BB731 #3158B7 #9031B7
monochromatic
#495617 #728724 #9BB731 #B7D154 #CBDE84

Accessibility & contrast

On white

2.28
#9BB731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#9BB731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB731
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB731#FFFFFF#000000##000000
##9BB7311.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC16
Deuteranopia (green-blind)
#BFAC3D
Tritanopia (blue-blind)
#A4AD9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9bb731;
/* rgb */ color: rgb(155, 183, 49);
/* oklch */ color: oklch(73.4% 0.158 120.9);
Tailwind
colors: {
  custom: {
    50: '#bccc73',
    500: '#9bb731',
    950: '#000000',
  },
}
SCSS
$custom: #9bb731;
$custom-light: #bccc73;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb731",
  "rgb": {
    "r": 155,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 72.537,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73388,
    "c": 0.15761,
    "h": 120.9
  },
  "luminance": 0.41057
}

Semantic roles & 50–950 ramp

primary
#9BB731
secondary
#8C7CC8
accent
#47E167
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9BB731

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

Preview Lab → · Contrast checker → · Palette generator →

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