#9CB45F#9CB45F

#9CB45F is a light, moderate yellow-green. Relative luminance 0.405; OKLCH L 73.2% C 0.115 H 122.2°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#9CB45F
RGBrgb(156, 180, 95)
HSLhsl(77, 36%, 54%)
HSVhsv(77, 47%, 71%)
CMYKcmyk(13.3%, 0%, 47.2%, 29.4%)
CIE-LABlab(69.85, -21.86, 40.41)
CIE-LCHlch(69.85, 45.94, 118.41°)
OKLaboklab(73.25% -0.0611 0.097)
OKLCHoklch(73.25% 0.115 122.2)
XYZxyz(32.0972, 40.5366, 16.9577)
Luminance0.4054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB45F #775FB4
analogous
#B4A25F #9CB45F #72B45F
triadic
#9CB45F #5F9CB4 #B45F9C
tetradic
#9CB45F #5FB4A2 #775FB4 #B45F72
square
#9CB45F #5FB4A2 #775FB4 #B45F72
split-complementary
#9CB45F #5F72B4 #A25FB4
monochromatic
#586831 #7C9244 #9CB45F #B6C889 #D0DBB2

Accessibility & contrast

On white

2.31
#9CB45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#9CB45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB45F
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB45F#FFFFFF#000000##000000
##9CB45F1.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB58
Deuteranopia (green-blind)
#BAAB64
Tritanopia (blue-blind)
#A2ADA0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9cb45f;
/* rgb */ color: rgb(156, 180, 95);
/* oklch */ color: oklch(73.2% 0.115 122.2);
Tailwind
colors: {
  custom: {
    50: '#bbca8e',
    500: '#9cb45f',
    950: '#000000',
  },
}
SCSS
$custom: #9cb45f;
$custom-light: #bbca8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb45f",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 95
  },
  "hsl": {
    "h": 76.941,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.73248,
    "c": 0.11462,
    "h": 122.2
  },
  "luminance": 0.40537
}

Semantic roles & 50–950 ramp

primary
#9CB45F
secondary
#B0A5CA
accent
#5CCC7B
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9CB45F

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

Preview Lab → · Contrast checker → · Palette generator →

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