#9CB42F#9CB42F

#9CB42F is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.8% C 0.155 H 119.5°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#9CB42F
RGBrgb(156, 180, 47)
HSLhsl(71, 59%, 45%)
HSVhsv(71, 74%, 71%)
CMYKcmyk(13.3%, 0%, 73.9%, 29.4%)
CIE-LABlab(69.41, -25.66, 60.84)
CIE-LCHlch(69.41, 66.03, 112.87°)
OKLaboklab(72.75% -0.0762 0.1348)
OKLCHoklch(72.75% 0.155 119.5)
XYZxyz(30.5453, 39.9158, 8.7842)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB42F #472FB4
analogous
#B48A2F #9CB42F #5AB42F
triadic
#9CB42F #2F9CB4 #B42F9C
tetradic
#9CB42F #2FB48A #472FB4 #B42F5A
square
#9CB42F #2FB48A #472FB4 #B42F5A
split-complementary
#9CB42F #2F5AB4 #8A2FB4
monochromatic
#485316 #728322 #9CB42F #BAD14F #CDDE80

Accessibility & contrast

On white

2.34
#9CB42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#9CB42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB42F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB42F#FFFFFF#000000##000000
##9CB42F1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA13
Deuteranopia (green-blind)
#BDAA3B
Tritanopia (blue-blind)
#A5AA9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb42f;
/* rgb */ color: rgb(156, 180, 47);
/* oklch */ color: oklch(72.8% 0.155 119.5);
Tailwind
colors: {
  custom: {
    50: '#bdca71',
    500: '#9cb42f',
    950: '#000000',
  },
}
SCSS
$custom: #9cb42f;
$custom-light: #bdca71;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb42f",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 70.827,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72752,
    "c": 0.15487,
    "h": 119.5
  },
  "luminance": 0.39916
}

Semantic roles & 50–950 ramp

primary
#9CB42F
secondary
#8678C7
accent
#46E262
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB42F

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

Preview Lab → · Contrast checker → · Palette generator →

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