#9CB045#9CB045

#9CB045 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 72.0% C 0.134 H 118.8°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#9CB045
RGBrgb(156, 176, 69)
HSLhsl(71, 44%, 48%)
HSVhsv(71, 61%, 69%)
CMYKcmyk(11.4%, 0%, 60.8%, 31%)
CIE-LABlab(68.42, -22.29, 51.09)
CIE-LCHlch(68.42, 55.74, 113.57°)
OKLaboklab(72.01% -0.0648 0.1176)
OKLCHoklch(72.01% 0.134 118.8)
XYZxyz(30.3103, 38.5485, 11.4729)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB045 #5945B0
analogous
#B08E45 #9CB045 #66B045
triadic
#9CB045 #459CB0 #B0459C
tetradic
#9CB045 #45B08E #5945B0 #B04566
square
#9CB045 #45B08E #5945B0 #B04566
split-complementary
#9CB045 #4566B0 #8E45B0
monochromatic
#4E5823 #758434 #9CB045 #B5C66D #CBD799

Accessibility & contrast

On white

2.41
#9CB045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#9CB045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB045
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB045#FFFFFF#000000##000000
##9CB0451.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#B8A74C
Tritanopia (blue-blind)
#A4A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb045;
/* rgb */ color: rgb(156, 176, 69);
/* oklch */ color: oklch(72.0% 0.134 118.8);
Tailwind
colors: {
  custom: {
    50: '#bcc77d',
    500: '#9cb045',
    950: '#000000',
  },
}
SCSS
$custom: #9cb045;
$custom-light: #bcc77d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb045",
  "rgb": {
    "r": 156,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 71.215,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7201,
    "c": 0.13424,
    "h": 118.8
  },
  "luminance": 0.38548
}

Semantic roles & 50–950 ramp

primary
#9CB045
secondary
#988EC3
accent
#54D36C
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9CB045

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

Preview Lab → · Contrast checker → · Palette generator →

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