#9CB12B#9CB12B

#9CB12B is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.0% C 0.154 H 118.4°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#9CB12B
RGBrgb(156, 177, 43)
HSLhsl(69, 61%, 43%)
HSVhsv(69, 76%, 69%)
CMYKcmyk(11.9%, 0%, 75.7%, 30.6%)
CIE-LABlab(68.52, -24.39, 61.34)
CIE-LCHlch(68.52, 66.02, 111.68°)
OKLaboklab(72.03% -0.0731 0.1352)
OKLCHoklch(72.03% 0.154 118.4)
XYZxyz(29.8692, 38.6869, 8.1788)
Luminance0.3869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB12B #402BB1
analogous
#B1832B #9CB12B #59B12B
triadic
#9CB12B #2B9CB1 #B12B9C
tetradic
#9CB12B #2BB183 #402BB1 #B12B59
square
#9CB12B #2BB183 #402BB1 #B12B59
split-complementary
#9CB12B #2B59B1 #832BB1
monochromatic
#454F13 #71801F #9CB12B #BCD247 #CEDE78

Accessibility & contrast

On white

2.40
#9CB12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#9CB12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB12B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB12B#FFFFFF#000000##000000
##9CB12B1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA70A
Deuteranopia (green-blind)
#BBA837
Tritanopia (blue-blind)
#A6A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb12b;
/* rgb */ color: rgb(156, 177, 43);
/* oklch */ color: oklch(72.0% 0.154 118.4);
Tailwind
colors: {
  custom: {
    50: '#bdc86f',
    500: '#9cb12b',
    950: '#000000',
  },
}
SCSS
$custom: #9cb12b;
$custom-light: #bdc86f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb12b",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 43
  },
  "hsl": {
    "h": 69.403,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72032,
    "c": 0.15367,
    "h": 118.4
  },
  "luminance": 0.38687
}

Semantic roles & 50–950 ramp

primary
#9CB12B
secondary
#7F72C6
accent
#44E45D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB12B

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

Preview Lab → · Contrast checker → · Palette generator →

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