#9BB931#9BB931

#9BB931 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.9% C 0.160 H 121.5°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#9BB931
RGBrgb(155, 185, 49)
HSLhsl(73, 58%, 46%)
HSVhsv(73, 74%, 73%)
CMYKcmyk(16.2%, 0%, 73.5%, 27.5%)
CIE-LABlab(70.79, -28.38, 61.46)
CIE-LCHlch(70.79, 67.69, 114.79°)
OKLaboklab(73.85% -0.0835 0.1365)
OKLCHoklch(73.85% 0.16 121.5)
XYZxyz(31.4214, 41.8882, 9.3350)
Luminance0.4189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB931 #4F31B9
analogous
#B99331 #9BB931 #57B931
triadic
#9BB931 #319BB9 #B9319B
tetradic
#9BB931 #31B993 #4F31B9 #B93157
square
#9BB931 #31B993 #4F31B9 #B93157
split-complementary
#9BB931 #3157B9 #9331B9
monochromatic
#4A5817 #728924 #9BB931 #B6D255 #CBDF86

Accessibility & contrast

On white

2.24
#9BB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#9BB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB931
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB931#FFFFFF#000000##000000
##9BB9311.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE15
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#A4AF9F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9bb931;
/* rgb */ color: rgb(155, 185, 49);
/* oklch */ color: oklch(73.9% 0.160 121.5);
Tailwind
colors: {
  custom: {
    50: '#bcce73',
    500: '#9bb931',
    950: '#000000',
  },
}
SCSS
$custom: #9bb931;
$custom-light: #bcce73;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb931",
  "rgb": {
    "r": 155,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 73.235,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73854,
    "c": 0.15999,
    "h": 121.5
  },
  "luminance": 0.41888
}

Semantic roles & 50–950 ramp

primary
#9BB931
secondary
#8E7DC8
accent
#46E169
background
#FBFCF7
surface
#F7F9ED
border
#D0D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9BB931

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

Preview Lab → · Contrast checker → · Palette generator →

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