#9CB333#9CB333

#9CB333 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.5% C 0.151 H 119.3°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#9CB333
RGBrgb(156, 179, 51)
HSLhsl(71, 56%, 45%)
HSVhsv(71, 72%, 70%)
CMYKcmyk(12.8%, 0%, 71.5%, 29.8%)
CIE-LABlab(69.15, -24.96, 59.16)
CIE-LCHlch(69.15, 64.21, 112.88°)
OKLaboklab(72.55% -0.0739 0.132)
OKLCHoklch(72.55% 0.151 119.3)
XYZxyz(30.4285, 39.5473, 9.1617)
Luminance0.3955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB333 #4A33B3
analogous
#B38A33 #9CB333 #5CB333
triadic
#9CB333 #339CB3 #B3339C
tetradic
#9CB333 #33B38A #4A33B3 #B3335C
square
#9CB333 #33B38A #4A33B3 #B3335C
split-complementary
#9CB333 #335CB3 #8A33B3
monochromatic
#495418 #728325 #9CB333 #B9CE55 #CCDC84

Accessibility & contrast

On white

2.36
#9CB333 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#9CB333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB333
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB333#FFFFFF#000000##000000
##9CB3331.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91C
Deuteranopia (green-blind)
#BCA93E
Tritanopia (blue-blind)
#A5A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb333;
/* rgb */ color: rgb(156, 179, 51);
/* oklch */ color: oklch(72.5% 0.151 119.3);
Tailwind
colors: {
  custom: {
    50: '#bcc973',
    500: '#9cb333',
    950: '#000000',
  },
}
SCSS
$custom: #9cb333;
$custom-light: #bcc973;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb333",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 51
  },
  "hsl": {
    "h": 70.781,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72548,
    "c": 0.15125,
    "h": 119.3
  },
  "luminance": 0.39547
}

Semantic roles & 50–950 ramp

primary
#9CB333
secondary
#897CC6
accent
#49DF64
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CB333

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

Preview Lab → · Contrast checker → · Palette generator →

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