#9CBA2A#9CBA2A

#9CBA2A is a light, vivid yellow-green. Relative luminance 0.424; OKLCH L 74.1% C 0.165 H 121.2°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#9CBA2A
RGBrgb(156, 186, 42)
HSLhsl(73, 63%, 45%)
HSVhsv(73, 77%, 73%)
CMYKcmyk(16.1%, 0%, 77.4%, 27.1%)
CIE-LABlab(71.11, -28.79, 64.07)
CIE-LCHlch(71.11, 70.24, 114.20°)
OKLaboklab(74.12% -0.0852 0.1408)
OKLCHoklch(74.12% 0.165 121.2)
XYZxyz(31.6877, 42.3529, 8.6956)
Luminance0.4235 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CBA2A #482ABA
analogous
#BA902A #9CBA2A #54BA2A
triadic
#9CBA2A #2A9CBA #BA2A9C
tetradic
#9CBA2A #2ABA90 #482ABA #BA2A54
square
#9CBA2A #2ABA90 #482ABA #BA2A54
split-complementary
#9CBA2A #2A54BA #902ABA
monochromatic
#485613 #72881F #9CBA2A #B9D64B #CDE27D

Accessibility & contrast

On white

2.22
#9CBA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#9CBA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CBA2A
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CBA2A#FFFFFF#000000##000000
##9CBA2A1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#A5B09F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9cba2a;
/* rgb */ color: rgb(156, 186, 42);
/* oklch */ color: oklch(74.1% 0.165 121.2);
Tailwind
colors: {
  custom: {
    50: '#bdce70',
    500: '#9cba2a',
    950: '#000000',
  },
}
SCSS
$custom: #9cba2a;
$custom-light: #bdce70;
$custom-dark: #000000;
JSON
{
  "hex": "#9cba2a",
  "rgb": {
    "r": 156,
    "g": 186,
    "b": 42
  },
  "hsl": {
    "h": 72.5,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74118,
    "c": 0.16457,
    "h": 121.2
  },
  "luminance": 0.42353
}

Semantic roles & 50–950 ramp

primary
#9CBA2A
secondary
#8776CA
accent
#42E664
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CBA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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