#9CB22F#9CB22F

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

Color values

HEX#9CB22F
RGBrgb(156, 178, 47)
HSLhsl(70, 58%, 44%)
HSVhsv(70, 74%, 70%)
CMYKcmyk(12.4%, 0%, 73.6%, 30.2%)
CIE-LABlab(68.83, -24.69, 60.29)
CIE-LCHlch(68.83, 65.14, 112.27°)
OKLaboklab(72.29% -0.0735 0.1336)
OKLCHoklch(72.29% 0.153 118.8)
XYZxyz(30.1444, 39.1142, 8.6505)
Luminance0.3911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB22F #452FB2
analogous
#B2872F #9CB22F #5BB22F
triadic
#9CB22F #2F9CB2 #B22F9C
tetradic
#9CB22F #2FB287 #452FB2 #B22F5B
square
#9CB22F #2FB287 #452FB2 #B22F5B
split-complementary
#9CB22F #2F5BB2 #872FB2
monochromatic
#475115 #728222 #9CB22F #BAD04E #CDDD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB22F#FFFFFF#000000##000000
##9CB22F1.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)
#BEA814
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#A5A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb22f;
/* rgb */ color: rgb(156, 178, 47);
/* oklch */ color: oklch(72.3% 0.153 118.8);
Tailwind
colors: {
  custom: {
    50: '#bdc971',
    500: '#9cb22f',
    950: '#000000',
  },
}
SCSS
$custom: #9cb22f;
$custom-light: #bdc971;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb22f",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 70.076,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72289,
    "c": 0.15253,
    "h": 118.8
  },
  "luminance": 0.39114
}

Semantic roles & 50–950 ramp

primary
#9CB22F
secondary
#8477C6
accent
#46E160
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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