#9BB231#9BB231

#9BB231 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.2% C 0.152 H 119.3°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#9BB231
RGBrgb(155, 178, 49)
HSLhsl(71, 57%, 45%)
HSVhsv(71, 72%, 70%)
CMYKcmyk(12.9%, 0%, 72.5%, 30.2%)
CIE-LABlab(68.77, -25.00, 59.50)
CIE-LCHlch(68.77, 64.54, 112.79°)
OKLaboklab(72.23% -0.0742 0.1324)
OKLCHoklch(72.23% 0.152 119.3)
XYZxyz(29.9929, 39.0313, 8.8589)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB231 #4831B2
analogous
#B28931 #9BB231 #5AB231
triadic
#9BB231 #319BB2 #B2319B
tetradic
#9BB231 #31B289 #4831B2 #B2315A
square
#9BB231 #31B289 #4831B2 #B2315A
split-complementary
#9BB231 #315AB2 #8931B2
monochromatic
#475217 #718224 #9BB231 #B9CF51 #CCDC81

Accessibility & contrast

On white

2.38
#9BB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#9BB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB231
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB231#FFFFFF#000000##000000
##9BB2311.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#A4A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9bb231;
/* rgb */ color: rgb(155, 178, 49);
/* oklch */ color: oklch(72.2% 0.152 119.3);
Tailwind
colors: {
  custom: {
    50: '#bcc972',
    500: '#9bb231',
    950: '#000000',
  },
}
SCSS
$custom: #9bb231;
$custom-light: #bcc972;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb231",
  "rgb": {
    "r": 155,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 70.698,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72226,
    "c": 0.15172,
    "h": 119.3
  },
  "luminance": 0.39031
}

Semantic roles & 50–950 ramp

primary
#9BB231
secondary
#8779C5
accent
#48E063
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB231

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

Preview Lab → · Contrast checker → · Palette generator →

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