#9CB931#9CB931

#9CB931 is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 73.9% C 0.160 H 121.1°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#9CB931
RGBrgb(156, 185, 49)
HSLhsl(73, 58%, 46%)
HSVhsv(73, 74%, 73%)
CMYKcmyk(15.7%, 0%, 73.5%, 27.5%)
CIE-LABlab(70.86, -27.97, 61.55)
CIE-LCHlch(70.86, 67.60, 114.44°)
OKLaboklab(73.93% -0.0824 0.1366)
OKLCHoklch(73.93% 0.16 121.1)
XYZxyz(31.6142, 41.9876, 9.3441)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB931 #4E31B9
analogous
#B99231 #9CB931 #58B931
triadic
#9CB931 #319CB9 #B9319C
tetradic
#9CB931 #31B992 #4E31B9 #B93158
square
#9CB931 #31B992 #4E31B9 #B93158
split-complementary
#9CB931 #3158B9 #9231B9
monochromatic
#4A5817 #738924 #9CB931 #B7D255 #CCDF86

Accessibility & contrast

On white

2.23
#9CB931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#9CB931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB931
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB931#FFFFFF#000000##000000
##9CB9311.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE15
Deuteranopia (green-blind)
#C1AE3D
Tritanopia (blue-blind)
#A5AF9F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9cb931;
/* rgb */ color: rgb(156, 185, 49);
/* oklch */ color: oklch(73.9% 0.160 121.1);
Tailwind
colors: {
  custom: {
    50: '#bdce73',
    500: '#9cb931',
    950: '#000000',
  },
}
SCSS
$custom: #9cb931;
$custom-light: #bdce73;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb931",
  "rgb": {
    "r": 156,
    "g": 185,
    "b": 49
  },
  "hsl": {
    "h": 72.794,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73927,
    "c": 0.15957,
    "h": 121.1
  },
  "luminance": 0.41988
}

Semantic roles & 50–950 ramp

primary
#9CB931
secondary
#8D7DC8
accent
#46E167
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CB931

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

Preview Lab → · Contrast checker → · Palette generator →

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