#9CB122#9CB122

#9CB122 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.0% C 0.158 H 118.2°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#9CB122
RGBrgb(156, 177, 34)
HSLhsl(69, 68%, 41%)
HSVhsv(69, 81%, 69%)
CMYKcmyk(11.9%, 0%, 80.8%, 30.6%)
CIE-LABlab(68.48, -24.76, 64.03)
CIE-LCHlch(68.48, 68.65, 111.15°)
OKLaboklab(71.98% -0.0748 0.1393)
OKLCHoklch(71.98% 0.158 118.2)
XYZxyz(29.7219, 38.6280, 7.4033)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB122 #3722B1
analogous
#B17F22 #9CB122 #55B122
triadic
#9CB122 #229CB1 #B1229C
tetradic
#9CB122 #22B17F #3722B1 #B12255
square
#9CB122 #22B17F #3722B1 #B12255
split-complementary
#9CB122 #2255B1 #7F22B1
monochromatic
#424A0E #6F7E18 #9CB122 #C1D938 #D1E36B

Accessibility & contrast

On white

2.41
#9CB122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#9CB122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB122
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB122#FFFFFF#000000##000000
##9CB1221.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA831
Tritanopia (blue-blind)
#A6A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb122;
/* rgb */ color: rgb(156, 177, 34);
/* oklch */ color: oklch(72.0% 0.158 118.2);
Tailwind
colors: {
  custom: {
    50: '#bdc86b',
    500: '#9cb122',
    950: '#000000',
  },
}
SCSS
$custom: #9cb122;
$custom-light: #bdc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb122",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 68.811,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71984,
    "c": 0.15813,
    "h": 118.2
  },
  "luminance": 0.38628
}

Semantic roles & 50–950 ramp

primary
#9CB122
secondary
#7566C9
accent
#3DEB57
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB122

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

Preview Lab → · Contrast checker → · Palette generator →

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