#9BB522#9BB522

#9BB522 is a light, vivid yellow-green. Relative luminance 0.401; OKLCH L 72.8% C 0.163 H 119.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#9BB522
RGBrgb(155, 181, 34)
HSLhsl(71, 68%, 42%)
HSVhsv(71, 81%, 71%)
CMYKcmyk(14.4%, 0%, 81.2%, 29%)
CIE-LABlab(69.56, -27.13, 64.95)
CIE-LCHlch(69.56, 70.39, 112.67°)
OKLaboklab(72.84% -0.0812 0.1414)
OKLCHoklch(72.84% 0.163 119.9)
XYZxyz(30.3308, 40.1319, 7.6614)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB522 #3C22B5
analogous
#B58522 #9BB522 #52B522
triadic
#9BB522 #229BB5 #B5229B
tetradic
#9BB522 #22B585 #3C22B5 #B52252
square
#9BB522 #22B585 #3C22B5 #B52252
split-complementary
#9BB522 #2252B5 #8522B5
monochromatic
#434E0F #6F8118 #9BB522 #BEDA3A #CFE46E

Accessibility & contrast

On white

2.33
#9BB522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#9BB522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB522
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB522#FFFFFF#000000##000000
##9BB5221.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#A4AB9B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9bb522;
/* rgb */ color: rgb(155, 181, 34);
/* oklch */ color: oklch(72.8% 0.163 119.9);
Tailwind
colors: {
  custom: {
    50: '#bccb6c',
    500: '#9bb522',
    950: '#000000',
  },
}
SCSS
$custom: #9bb522;
$custom-light: #bccb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb522",
  "rgb": {
    "r": 155,
    "g": 181,
    "b": 34
  },
  "hsl": {
    "h": 70.612,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72838,
    "c": 0.16301,
    "h": 119.9
  },
  "luminance": 0.40132
}

Semantic roles & 50–950 ramp

primary
#9BB522
secondary
#7A69CA
accent
#3DEB5B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB522

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

Preview Lab → · Contrast checker → · Palette generator →

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