#9CB42E#9CB42E

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

Color values

HEX#9CB42E
RGBrgb(156, 180, 46)
HSLhsl(71, 59%, 44%)
HSVhsv(71, 74%, 71%)
CMYKcmyk(13.3%, 0%, 74.4%, 29.4%)
CIE-LABlab(69.40, -25.71, 61.17)
CIE-LCHlch(69.40, 66.36, 112.80°)
OKLaboklab(72.75% -0.0764 0.1354)
OKLCHoklch(72.75% 0.155 119.5)
XYZxyz(30.5253, 39.9079, 8.6791)
Luminance0.3991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB42E #462EB4
analogous
#B4892E #9CB42E #59B42E
triadic
#9CB42E #2E9CB4 #B42E9C
tetradic
#9CB42E #2EB489 #462EB4 #B42E59
square
#9CB42E #2EB489 #462EB4 #B42E59
split-complementary
#9CB42E #2E59B4 #892EB4
monochromatic
#485315 #728322 #9CB42E #BAD24E #CDDE7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB42E#FFFFFF#000000##000000
##9CB42E1.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)
#C0AA11
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#A5AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb42e;
/* rgb */ color: rgb(156, 180, 46);
/* oklch */ color: oklch(72.7% 0.155 119.5);
Tailwind
colors: {
  custom: {
    50: '#bdca71',
    500: '#9cb42e',
    950: '#000000',
  },
}
SCSS
$custom: #9cb42e;
$custom-light: #bdca71;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb42e",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 70.746,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72746,
    "c": 0.15545,
    "h": 119.5
  },
  "luminance": 0.39908
}

Semantic roles & 50–950 ramp

primary
#9CB42E
secondary
#8577C7
accent
#45E261
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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