#9CB831#9CB831

#9CB831 is a light, vivid yellow-green. Relative luminance 0.416; OKLCH L 73.7% C 0.158 H 120.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#9CB831
RGBrgb(156, 184, 49)
HSLhsl(72, 58%, 46%)
HSVhsv(72, 73%, 72%)
CMYKcmyk(15.2%, 0%, 73.4%, 27.8%)
CIE-LABlab(70.57, -27.49, 61.27)
CIE-LCHlch(70.57, 67.15, 114.17°)
OKLaboklab(73.69% -0.0811 0.136)
OKLCHoklch(73.69% 0.158 120.8)
XYZxyz(31.4057, 41.5707, 9.2746)
Luminance0.4157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB831 #4D31B8
analogous
#B89031 #9CB831 #59B831
triadic
#9CB831 #319CB8 #B8319C
tetradic
#9CB831 #31B890 #4D31B8 #B83159
square
#9CB831 #31B890 #4D31B8 #B83159
split-complementary
#9CB831 #3159B8 #9031B8
monochromatic
#4A5717 #738824 #9CB831 #B8D255 #CCDE85

Accessibility & contrast

On white

2.25
#9CB831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#9CB831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB831
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB831#FFFFFF#000000##000000
##9CB8311.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD16
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#A5AE9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9cb831;
/* rgb */ color: rgb(156, 184, 49);
/* oklch */ color: oklch(73.7% 0.158 120.8);
Tailwind
colors: {
  custom: {
    50: '#bdcd73',
    500: '#9cb831',
    950: '#000000',
  },
}
SCSS
$custom: #9cb831;
$custom-light: #bdcd73;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb831",
  "rgb": {
    "r": 156,
    "g": 184,
    "b": 49
  },
  "hsl": {
    "h": 72.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73694,
    "c": 0.15838,
    "h": 120.8
  },
  "luminance": 0.41571
}

Semantic roles & 50–950 ramp

primary
#9CB831
secondary
#8C7DC8
accent
#47E167
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9CB831

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

Preview Lab → · Contrast checker → · Palette generator →

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