#9CB231#9CB231

#9CB231 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.3% C 0.151 H 118.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#9CB231
RGBrgb(156, 178, 49)
HSLhsl(70, 57%, 45%)
HSVhsv(70, 72%, 70%)
CMYKcmyk(12.4%, 0%, 72.5%, 30.2%)
CIE-LABlab(68.85, -24.58, 59.59)
CIE-LCHlch(68.85, 64.46, 112.42°)
OKLaboklab(72.3% -0.0731 0.1325)
OKLCHoklch(72.3% 0.151 118.9)
XYZxyz(30.1857, 39.1307, 8.8679)
Luminance0.3913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB231 #4731B2
analogous
#B28831 #9CB231 #5BB231
triadic
#9CB231 #319CB2 #B2319C
tetradic
#9CB231 #31B288 #4731B2 #B2315B
square
#9CB231 #31B288 #4731B2 #B2315B
split-complementary
#9CB231 #315BB2 #8831B2
monochromatic
#485217 #728224 #9CB231 #BACF51 #CDDC81

Accessibility & contrast

On white

2.38
#9CB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#9CB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB231
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB231#FFFFFF#000000##000000
##9CB2311.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#A5A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb231;
/* rgb */ color: rgb(156, 178, 49);
/* oklch */ color: oklch(72.3% 0.151 118.9);
Tailwind
colors: {
  custom: {
    50: '#bcc972',
    500: '#9cb231',
    950: '#000000',
  },
}
SCSS
$custom: #9cb231;
$custom-light: #bcc972;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb231",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 70.233,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72302,
    "c": 0.15133,
    "h": 118.9
  },
  "luminance": 0.3913
}

Semantic roles & 50–950 ramp

primary
#9CB231
secondary
#8679C5
accent
#48E062
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB231

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

Preview Lab → · Contrast checker → · Palette generator →

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