#9CB522#9CB522

#9CB522 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.9% C 0.163 H 119.5°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#9CB522
RGBrgb(156, 181, 34)
HSLhsl(70, 68%, 42%)
HSVhsv(70, 81%, 71%)
CMYKcmyk(13.8%, 0%, 81.2%, 29%)
CIE-LABlab(69.63, -26.71, 65.04)
CIE-LCHlch(69.63, 70.31, 112.33°)
OKLaboklab(72.91% -0.0801 0.1415)
OKLCHoklch(72.91% 0.163 119.5)
XYZxyz(30.5236, 40.2313, 7.6705)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB522 #3B22B5
analogous
#B58522 #9CB522 #53B522
triadic
#9CB522 #229CB5 #B5229C
tetradic
#9CB522 #22B585 #3B22B5 #B52253
square
#9CB522 #22B585 #3B22B5 #B52253
split-complementary
#9CB522 #2253B5 #8522B5
monochromatic
#434E0F #708118 #9CB522 #BFDA3A #D0E46E

Accessibility & contrast

On white

2.32
#9CB522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#9CB522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB522
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB522#FFFFFF#000000##000000
##9CB5221.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cb522;
/* rgb */ color: rgb(156, 181, 34);
/* oklch */ color: oklch(72.9% 0.163 119.5);
Tailwind
colors: {
  custom: {
    50: '#bdcb6c',
    500: '#9cb522',
    950: '#000000',
  },
}
SCSS
$custom: #9cb522;
$custom-light: #bdcb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb522",
  "rgb": {
    "r": 156,
    "g": 181,
    "b": 34
  },
  "hsl": {
    "h": 70.204,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72913,
    "c": 0.16261,
    "h": 119.5
  },
  "luminance": 0.40231
}

Semantic roles & 50–950 ramp

primary
#9CB522
secondary
#7969CA
accent
#3DEB5A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9CB522

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

Preview Lab → · Contrast checker → · Palette generator →

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