#9CB340#9CB340

#9CB340 is a light, vivid yellow-green. Relative luminance 0.397; OKLCH L 72.7% C 0.142 H 119.7°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#9CB340
RGBrgb(156, 179, 64)
HSLhsl(72, 47%, 48%)
HSVhsv(72, 64%, 70%)
CMYKcmyk(12.8%, 0%, 64.2%, 29.8%)
CIE-LABlab(69.24, -24.14, 54.13)
CIE-LCHlch(69.24, 59.27, 114.04°)
OKLaboklab(72.65% -0.0704 0.1234)
OKLCHoklch(72.65% 0.142 119.7)
XYZxyz(30.7563, 39.6784, 10.8879)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB340 #5740B3
analogous
#B39040 #9CB340 #62B340
triadic
#9CB340 #409CB3 #B3409C
tetradic
#9CB340 #40B390 #5740B3 #B34062
square
#9CB340 #40B390 #5740B3 #B34062
split-complementary
#9CB340 #4062B3 #9040B3
monochromatic
#4D5920 #758630 #9CB340 #B5C967 #CBD994

Accessibility & contrast

On white

2.35
#9CB340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#9CB340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB340
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB340#FFFFFF#000000##000000
##9CB3401.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#BBA948
Tritanopia (blue-blind)
#A4AA9B
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb340;
/* rgb */ color: rgb(156, 179, 64);
/* oklch */ color: oklch(72.7% 0.142 119.7);
Tailwind
colors: {
  custom: {
    50: '#bcc97a',
    500: '#9cb340',
    950: '#000000',
  },
}
SCSS
$custom: #9cb340;
$custom-light: #bcc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb340",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 64
  },
  "hsl": {
    "h": 72,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72653,
    "c": 0.14205,
    "h": 119.7
  },
  "luminance": 0.39678
}

Semantic roles & 50–950 ramp

primary
#9CB340
secondary
#968AC4
accent
#51D76C
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9CB340

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

Preview Lab → · Contrast checker → · Palette generator →

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