#9CB22A#9CB22A

#9CB22A 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#9CB22A
RGBrgb(156, 178, 42)
HSLhsl(70, 62%, 43%)
HSVhsv(70, 76%, 70%)
CMYKcmyk(12.4%, 0%, 76.4%, 30.2%)
CIE-LABlab(68.81, -24.93, 61.93)
CIE-LCHlch(68.81, 66.76, 111.92°)
OKLaboklab(72.26% -0.0746 0.1363)
OKLCHoklch(72.26% 0.155 118.7)
XYZxyz(30.0493, 39.0761, 8.1495)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB22A #402AB2
analogous
#B2842A #9CB22A #58B22A
triadic
#9CB22A #2A9CB2 #B22A9C
tetradic
#9CB22A #2AB284 #402AB2 #B22A58
square
#9CB22A #2AB284 #402AB2 #B22A58
split-complementary
#9CB22A #2A58B2 #842AB2
monochromatic
#454F13 #71801E #9CB22A #BCD346 #CEDF77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB22A#FFFFFF#000000##000000
##9CB22A1.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)
#BEA805
Deuteranopia (green-blind)
#BCA837
Tritanopia (blue-blind)
#A6A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb22a;
/* rgb */ color: rgb(156, 178, 42);
/* oklch */ color: oklch(72.3% 0.155 118.7);
Tailwind
colors: {
  custom: {
    50: '#bdc96f',
    500: '#9cb22a',
    950: '#000000',
  },
}
SCSS
$custom: #9cb22a;
$custom-light: #bdc96f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb22a",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 42
  },
  "hsl": {
    "h": 69.706,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72258,
    "c": 0.15535,
    "h": 118.7
  },
  "luminance": 0.39076
}

Semantic roles & 50–950 ramp

primary
#9CB22A
secondary
#7F71C7
accent
#43E55D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB22A

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

Preview Lab → · Contrast checker → · Palette generator →

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