#9CB142#9CB142

#9CB142 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.2% C 0.138 H 119.1°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#9CB142
RGBrgb(156, 177, 66)
HSLhsl(71, 46%, 48%)
HSVhsv(71, 63%, 69%)
CMYKcmyk(11.9%, 0%, 62.7%, 30.6%)
CIE-LABlab(68.68, -23.01, 52.69)
CIE-LCHlch(68.68, 57.49, 113.59°)
OKLaboklab(72.21% -0.0671 0.1206)
OKLCHoklch(72.21% 0.138 119.1)
XYZxyz(30.4163, 38.9057, 11.0604)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB142 #5742B1
analogous
#B18E42 #9CB142 #65B142
triadic
#9CB142 #429CB1 #B1429C
tetradic
#9CB142 #42B18E #5742B1 #B14265
square
#9CB142 #42B18E #5742B1 #B14265
split-complementary
#9CB142 #4265B1 #8E42B1
monochromatic
#4D5821 #758431 #9CB142 #B5C769 #CBD896

Accessibility & contrast

On white

2.39
#9CB142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#9CB142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB142
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB142#FFFFFF#000000##000000
##9CB1421.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA834
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#A5A89A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb142;
/* rgb */ color: rgb(156, 177, 66);
/* oklch */ color: oklch(72.2% 0.138 119.1);
Tailwind
colors: {
  custom: {
    50: '#bcc87b',
    500: '#9cb142',
    950: '#000000',
  },
}
SCSS
$custom: #9cb142;
$custom-light: #bcc87b;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb142",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 71.351,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72211,
    "c": 0.13798,
    "h": 119.1
  },
  "luminance": 0.38906
}

Semantic roles & 50–950 ramp

primary
#9CB142
secondary
#968BC3
accent
#52D56B
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9CB142

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

Preview Lab → · Contrast checker → · Palette generator →

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