#9CB240#9CB240

#9CB240 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.4% C 0.141 H 119.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#9CB240
RGBrgb(156, 178, 64)
HSLhsl(72, 47%, 47%)
HSVhsv(72, 64%, 70%)
CMYKcmyk(12.4%, 0%, 64%, 30.2%)
CIE-LABlab(68.95, -23.65, 53.83)
CIE-LCHlch(68.95, 58.80, 113.72°)
OKLaboklab(72.42% -0.0691 0.1227)
OKLCHoklch(72.42% 0.141 119.4)
XYZxyz(30.5566, 39.2790, 10.8214)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB240 #5640B2
analogous
#B28F40 #9CB240 #63B240
triadic
#9CB240 #409CB2 #B2409C
tetradic
#9CB240 #40B28F #5640B2 #B24063
square
#9CB240 #40B28F #5640B2 #B24063
split-complementary
#9CB240 #4063B2 #8F40B2
monochromatic
#4D5820 #758530 #9CB240 #B6C867 #CBD894

Accessibility & contrast

On white

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

On black

8.86
#9CB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB240
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB240#FFFFFF#000000##000000
##9CB2401.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cb240;
/* rgb */ color: rgb(156, 178, 64);
/* oklch */ color: oklch(72.4% 0.141 119.4);
Tailwind
colors: {
  custom: {
    50: '#bcc97a',
    500: '#9cb240',
    950: '#000000',
  },
}
SCSS
$custom: #9cb240;
$custom-light: #bcc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb240",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 71.579,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72423,
    "c": 0.14081,
    "h": 119.4
  },
  "luminance": 0.39279
}

Semantic roles & 50–950 ramp

primary
#9CB240
secondary
#958AC4
accent
#51D76B
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9CB240

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

Preview Lab → · Contrast checker → · Palette generator →

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