#9BB31A#9BB31A

#9BB31A is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.3% C 0.164 H 119.1°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#9BB31A
RGBrgb(155, 179, 26)
HSLhsl(69, 75%, 40%)
HSVhsv(69, 85%, 70%)
CMYKcmyk(13.4%, 0%, 85.5%, 29.8%)
CIE-LABlab(68.96, -26.42, 66.40)
CIE-LCHlch(68.96, 71.46, 111.70°)
OKLaboklab(72.34% -0.0798 0.1432)
OKLCHoklch(72.34% 0.164 119.1)
XYZxyz(29.8248, 39.2836, 6.9884)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB31A #321AB3
analogous
#B37F1A #9BB31A #4EB31A
triadic
#9BB31A #1A9BB3 #B31A9B
tetradic
#9BB31A #1AB37F #321AB3 #B31A4E
square
#9BB31A #1AB37F #321AB3 #B31A4E
split-complementary
#9BB31A #1A4EB3 #7F1AB3
monochromatic
#3E480A #6D7E12 #9BB31A #C4E02A #D2E860

Accessibility & contrast

On white

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

On black

8.86
#9BB31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB31A
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB31A#FFFFFF#000000##000000
##9BB31A1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bb31a;
/* rgb */ color: rgb(155, 179, 26);
/* oklch */ color: oklch(72.3% 0.164 119.1);
Tailwind
colors: {
  custom: {
    50: '#bdc969',
    500: '#9bb31a',
    950: '#000000',
  },
}
SCSS
$custom: #9bb31a;
$custom-light: #bdc969;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb31a",
  "rgb": {
    "r": 155,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 69.412,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72339,
    "c": 0.16388,
    "h": 119.1
  },
  "luminance": 0.39283
}

Semantic roles & 50–950 ramp

primary
#9BB31A
secondary
#6E5DCC
accent
#37F154
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9BB31A

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

Preview Lab → · Contrast checker → · Palette generator →

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