#9CB23A#9CB23A

#9CB23A is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.4% C 0.145 H 119.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#9CB23A
RGBrgb(156, 178, 58)
HSLhsl(71, 51%, 46%)
HSVhsv(71, 67%, 70%)
CMYKcmyk(12.4%, 0%, 67.4%, 30.2%)
CIE-LABlab(68.91, -24.06, 56.24)
CIE-LCHlch(68.91, 61.17, 113.16°)
OKLaboklab(72.37% -0.0708 0.1269)
OKLCHoklch(72.37% 0.145 119.1)
XYZxyz(30.3950, 39.2144, 9.9701)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB23A #503AB2
analogous
#B28C3A #9CB23A #60B23A
triadic
#9CB23A #3A9CB2 #B23A9C
tetradic
#9CB23A #3AB28C #503AB2 #B23A60
square
#9CB23A #3AB28C #503AB2 #B23A60
split-complementary
#9CB23A #3A60B2 #8C3AB2
monochromatic
#4B561C #74842B #9CB23A #B7CB5F #CCDA8D

Accessibility & contrast

On white

2.37
#9CB23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#9CB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB23A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB23A#FFFFFF#000000##000000
##9CB23A1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA829
Deuteranopia (green-blind)
#BBA943
Tritanopia (blue-blind)
#A5A99A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb23a;
/* rgb */ color: rgb(156, 178, 58);
/* oklch */ color: oklch(72.4% 0.145 119.1);
Tailwind
colors: {
  custom: {
    50: '#bcc977',
    500: '#9cb23a',
    950: '#000000',
  },
}
SCSS
$custom: #9cb23a;
$custom-light: #bcc977;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb23a",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 71,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7237,
    "c": 0.14532,
    "h": 119.1
  },
  "luminance": 0.39214
}

Semantic roles & 50–950 ramp

primary
#9CB23A
secondary
#8F83C4
accent
#4DDA67
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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