#9CB22B#9CB22B

#9CB22B is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.3% C 0.155 H 118.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#9CB22B
RGBrgb(156, 178, 43)
HSLhsl(70, 61%, 43%)
HSVhsv(70, 76%, 70%)
CMYKcmyk(12.4%, 0%, 75.8%, 30.2%)
CIE-LABlab(68.81, -24.88, 61.61)
CIE-LCHlch(68.81, 66.45, 111.99°)
OKLaboklab(72.26% -0.0744 0.1358)
OKLCHoklch(72.26% 0.155 118.7)
XYZxyz(30.0674, 39.0834, 8.2449)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB22B #412BB2
analogous
#B2842B #9CB22B #58B22B
triadic
#9CB22B #2B9CB2 #B22B9C
tetradic
#9CB22B #2BB284 #412BB2 #B22B58
square
#9CB22B #2BB284 #412BB2 #B22B58
split-complementary
#9CB22B #2B58B2 #842BB2
monochromatic
#464F13 #71811F #9CB22B #BCD348 #CEDF79

Accessibility & contrast

On white

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

On black

8.82
#9CB22B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB22B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB22B#FFFFFF#000000##000000
##9CB22B1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA809
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#A6A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb22b;
/* rgb */ color: rgb(156, 178, 43);
/* oklch */ color: oklch(72.3% 0.155 118.7);
Tailwind
colors: {
  custom: {
    50: '#bdc96f',
    500: '#9cb22b',
    950: '#000000',
  },
}
SCSS
$custom: #9cb22b;
$custom-light: #bdc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb22b",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 43
  },
  "hsl": {
    "h": 69.778,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72264,
    "c": 0.15481,
    "h": 118.7
  },
  "luminance": 0.39083
}

Semantic roles & 50–950 ramp

primary
#9CB22B
secondary
#8072C7
accent
#44E45E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB22B

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

Preview Lab → · Contrast checker → · Palette generator →

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