#9BB31C#9BB31C

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

Color values

HEX#9BB31C
RGBrgb(155, 179, 28)
HSLhsl(70, 73%, 41%)
HSVhsv(70, 84%, 70%)
CMYKcmyk(13.4%, 0%, 84.4%, 29.8%)
CIE-LABlab(68.96, -26.36, 65.95)
CIE-LCHlch(68.96, 71.02, 111.79°)
OKLaboklab(72.35% -0.0795 0.1425)
OKLCHoklch(72.35% 0.163 119.2)
XYZxyz(29.8480, 39.2928, 7.1102)
Luminance0.3929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB31C #341CB3
analogous
#B37F1C #9BB31C #50B31C
triadic
#9BB31C #1C9BB3 #B31C9B
tetradic
#9BB31C #1CB37F #341CB3 #B31C50
square
#9BB31C #1CB37F #341CB3 #B31C50
split-complementary
#9BB31C #1C50B3 #7F1CB3
monochromatic
#3F490B #6D7E14 #9BB31C #C2DE2E #D2E763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BB31C#FFFFFF#000000##000000
##9BB31C1.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)
#BCA92D
Tritanopia (blue-blind)
#A5A999
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9bb31c;
/* rgb */ color: rgb(155, 179, 28);
/* oklch */ color: oklch(72.3% 0.163 119.2);
Tailwind
colors: {
  custom: {
    50: '#bdc969',
    500: '#9bb31c',
    950: '#000000',
  },
}
SCSS
$custom: #9bb31c;
$custom-light: #bdc969;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb31c",
  "rgb": {
    "r": 155,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 69.536,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72347,
    "c": 0.16317,
    "h": 119.2
  },
  "luminance": 0.39293
}

Semantic roles & 50–950 ramp

primary
#9BB31C
secondary
#715FCB
accent
#38F055
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9BB31C

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

Preview Lab → · Contrast checker → · Palette generator →

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