#9CB31A#9CB31A

#9CB31A is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.4% C 0.163 H 118.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9CB31A
RGBrgb(156, 179, 26)
HSLhsl(69, 75%, 40%)
HSVhsv(69, 85%, 70%)
CMYKcmyk(12.8%, 0%, 85.5%, 29.8%)
CIE-LABlab(69.03, -26.00, 66.49)
CIE-LCHlch(69.03, 71.39, 111.36°)
OKLaboklab(72.41% -0.0787 0.1433)
OKLCHoklch(72.41% 0.163 118.8)
XYZxyz(30.0176, 39.3829, 6.9974)
Luminance0.3938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB31A #311AB3
analogous
#B37E1A #9CB31A #4FB31A
triadic
#9CB31A #1A9CB3 #B31A9C
tetradic
#9CB31A #1AB37E #311AB3 #B31A4F
square
#9CB31A #1AB37E #311AB3 #B31A4F
split-complementary
#9CB31A #1A4FB3 #7E1AB3
monochromatic
#3F480A #6D7E12 #9CB31A #C5E02A #D3E860

Accessibility & contrast

On white

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

On black

8.88
#9CB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB31A
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB31A#FFFFFF#000000##000000
##9CB31A1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BDA92C
Tritanopia (blue-blind)
#A6A999
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9cb31a;
/* rgb */ color: rgb(156, 179, 26);
/* oklch */ color: oklch(72.4% 0.163 118.8);
Tailwind
colors: {
  custom: {
    50: '#bdc969',
    500: '#9cb31a',
    950: '#000000',
  },
}
SCSS
$custom: #9cb31a;
$custom-light: #bdc969;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb31a",
  "rgb": {
    "r": 156,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 69.02,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72415,
    "c": 0.16349,
    "h": 118.8
  },
  "luminance": 0.39383
}

Semantic roles & 50–950 ramp

primary
#9CB31A
secondary
#6D5DCC
accent
#37F153
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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