#9CB131#9CB131

#9CB131 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.1% C 0.150 H 118.5°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#9CB131
RGBrgb(156, 177, 49)
HSLhsl(70, 57%, 44%)
HSVhsv(70, 72%, 69%)
CMYKcmyk(11.9%, 0%, 72.3%, 30.6%)
CIE-LABlab(68.56, -24.09, 59.31)
CIE-LCHlch(68.56, 64.02, 112.10°)
OKLaboklab(72.07% -0.0717 0.1319)
OKLCHoklch(72.07% 0.15 118.5)
XYZxyz(29.9875, 38.7342, 8.8018)
Luminance0.3873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB131 #4631B1
analogous
#B18631 #9CB131 #5CB131
triadic
#9CB131 #319CB1 #B1319C
tetradic
#9CB131 #31B186 #4631B1 #B1315C
square
#9CB131 #31B186 #4631B1 #B1315C
split-complementary
#9CB131 #315CB1 #8631B1
monochromatic
#485116 #728124 #9CB131 #BACF51 #CDDC80

Accessibility & contrast

On white

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

On black

8.75
#9CB131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB131
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB131#FFFFFF#000000##000000
##9CB1311.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#BAA83C
Tritanopia (blue-blind)
#A5A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9cb131;
/* rgb */ color: rgb(156, 177, 49);
/* oklch */ color: oklch(72.1% 0.150 118.5);
Tailwind
colors: {
  custom: {
    50: '#bcc872',
    500: '#9cb131',
    950: '#000000',
  },
}
SCSS
$custom: #9cb131;
$custom-light: #bcc872;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb131",
  "rgb": {
    "r": 156,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 69.844,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72071,
    "c": 0.15016,
    "h": 118.5
  },
  "luminance": 0.38734
}

Semantic roles & 50–950 ramp

primary
#9CB131
secondary
#8579C5
accent
#48E061
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB131

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

Preview Lab → · Contrast checker → · Palette generator →

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