#9CB335#9CB335

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

Color values

HEX#9CB335
RGBrgb(156, 179, 53)
HSLhsl(71, 54%, 45%)
HSVhsv(71, 70%, 70%)
CMYKcmyk(12.8%, 0%, 70.4%, 29.8%)
CIE-LABlab(69.16, -24.85, 58.44)
CIE-LCHlch(69.16, 63.50, 113.04°)
OKLaboklab(72.56% -0.0734 0.1307)
OKLCHoklch(72.56% 0.15 119.3)
XYZxyz(30.4736, 39.5653, 9.3990)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB335 #4C35B3
analogous
#B38B35 #9CB335 #5DB335
triadic
#9CB335 #359CB3 #B3359C
tetradic
#9CB335 #35B38B #4C35B3 #B3355D
square
#9CB335 #35B38B #4C35B3 #B3355D
split-complementary
#9CB335 #355DB3 #8B35B3
monochromatic
#4A5519 #738427 #9CB335 #B8CD58 #CCDB87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB335#FFFFFF#000000##000000
##9CB3351.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)
#BEA920
Deuteranopia (green-blind)
#BCA93F
Tritanopia (blue-blind)
#A5A99A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb335;
/* rgb */ color: rgb(156, 179, 53);
/* oklch */ color: oklch(72.6% 0.150 119.3);
Tailwind
colors: {
  custom: {
    50: '#bcc974',
    500: '#9cb335',
    950: '#000000',
  },
}
SCSS
$custom: #9cb335;
$custom-light: #bcc974;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb335",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 70.952,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72562,
    "c": 0.14996,
    "h": 119.3
  },
  "luminance": 0.39565
}

Semantic roles & 50–950 ramp

primary
#9CB335
secondary
#8B7FC5
accent
#4ADE65
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CB335

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

Preview Lab → · Contrast checker → · Palette generator →

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