#9CB245#9CB245

#9CB245 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.5% C 0.137 H 119.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#9CB245
RGBrgb(156, 178, 69)
HSLhsl(72, 44%, 48%)
HSVhsv(72, 61%, 70%)
CMYKcmyk(12.4%, 0%, 61.2%, 30.2%)
CIE-LABlab(69.00, -23.28, 51.72)
CIE-LCHlch(69.00, 56.72, 114.23°)
OKLaboklab(72.47% -0.0675 0.1189)
OKLCHoklch(72.47% 0.137 119.6)
XYZxyz(30.7053, 39.3385, 11.6046)
Luminance0.3934 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB245 #5B45B2
analogous
#B29145 #9CB245 #65B245
triadic
#9CB245 #459CB2 #B2459C
tetradic
#9CB245 #45B291 #5B45B2 #B24565
square
#9CB245 #45B291 #5B45B2 #B24565
split-complementary
#9CB245 #4565B2 #9145B2
monochromatic
#4F5A23 #758634 #9CB245 #B5C76E #CBD89A

Accessibility & contrast

On white

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

On black

8.87
#9CB245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB245
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB245#FFFFFF#000000##000000
##9CB2451.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA838
Deuteranopia (green-blind)
#BAA94C
Tritanopia (blue-blind)
#A4A99B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb245;
/* rgb */ color: rgb(156, 178, 69);
/* oklch */ color: oklch(72.5% 0.137 119.6);
Tailwind
colors: {
  custom: {
    50: '#bcc97d',
    500: '#9cb245',
    950: '#000000',
  },
}
SCSS
$custom: #9cb245;
$custom-light: #bcc97d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb245",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 69
  },
  "hsl": {
    "h": 72.11,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72471,
    "c": 0.13676,
    "h": 119.6
  },
  "luminance": 0.39338
}

Semantic roles & 50–950 ramp

primary
#9CB245
secondary
#9A8FC4
accent
#54D46E
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9CB245

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

Preview Lab → · Contrast checker → · Palette generator →

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