#9CB040#9CB040

#9CB040 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 72.0% C 0.138 H 118.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#9CB040
RGBrgb(156, 176, 64)
HSLhsl(71, 47%, 47%)
HSVhsv(71, 64%, 69%)
CMYKcmyk(11.4%, 0%, 63.6%, 31%)
CIE-LABlab(68.38, -22.66, 53.22)
CIE-LCHlch(68.38, 57.84, 113.07°)
OKLaboklab(71.96% -0.0663 0.1214)
OKLCHoklch(71.96% 0.138 118.6)
XYZxyz(30.1616, 38.4890, 10.6897)
Luminance0.3849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB040 #5440B0
analogous
#B08C40 #9CB040 #64B040
triadic
#9CB040 #409CB0 #B0409C
tetradic
#9CB040 #40B08C #5440B0 #B04064
square
#9CB040 #40B08C #5440B0 #B04064
split-complementary
#9CB040 #4064B0 #8C40B0
monochromatic
#4C561F #748330 #9CB040 #B6C766 #CBD893

Accessibility & contrast

On white

2.41
#9CB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#9CB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB040
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB040#FFFFFF#000000##000000
##9CB0401.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#B9A748
Tritanopia (blue-blind)
#A5A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb040;
/* rgb */ color: rgb(156, 176, 64);
/* oklch */ color: oklch(72.0% 0.138 118.6);
Tailwind
colors: {
  custom: {
    50: '#bcc77a',
    500: '#9cb040',
    950: '#000000',
  },
}
SCSS
$custom: #9cb040;
$custom-light: #bcc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb040",
  "rgb": {
    "r": 156,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 70.714,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71962,
    "c": 0.13835,
    "h": 118.6
  },
  "luminance": 0.38489
}

Semantic roles & 50–950 ramp

primary
#9CB040
secondary
#9389C3
accent
#51D669
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9CB040

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

Preview Lab → · Contrast checker → · Palette generator →

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