#9CB138#9CB138

#9CB138 is a light, vivid yellow-green. Relative luminance 0.388; OKLCH L 72.1% C 0.146 H 118.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#9CB138
RGBrgb(156, 177, 56)
HSLhsl(70, 52%, 46%)
HSVhsv(70, 68%, 69%)
CMYKcmyk(11.9%, 0%, 68.4%, 30.6%)
CIE-LABlab(68.60, -23.69, 56.73)
CIE-LCHlch(68.60, 61.47, 112.66°)
OKLaboklab(72.12% -0.0699 0.1276)
OKLCHoklch(72.12% 0.146 118.7)
XYZxyz(30.1468, 38.7979, 9.6412)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB138 #4D38B1
analogous
#B18938 #9CB138 #60B138
triadic
#9CB138 #389CB1 #B1389C
tetradic
#9CB138 #38B189 #4D38B1 #B13860
square
#9CB138 #38B189 #4D38B1 #B13860
split-complementary
#9CB138 #3860B1 #8938B1
monochromatic
#4A541B #738329 #9CB138 #B8CB5B #CCDA8A

Accessibility & contrast

On white

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

On black

8.76
#9CB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB138
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB138#FFFFFF#000000##000000
##9CB1381.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#BAA841
Tritanopia (blue-blind)
#A5A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb138;
/* rgb */ color: rgb(156, 177, 56);
/* oklch */ color: oklch(72.1% 0.146 118.7);
Tailwind
colors: {
  custom: {
    50: '#bcc876',
    500: '#9cb138',
    950: '#000000',
  },
}
SCSS
$custom: #9cb138;
$custom-light: #bcc876;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb138",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 70.413,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72123,
    "c": 0.14554,
    "h": 118.7
  },
  "luminance": 0.38798
}

Semantic roles & 50–950 ramp

primary
#9CB138
secondary
#8C81C4
accent
#4CDB65
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CB138

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

Preview Lab → · Contrast checker → · Palette generator →

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