#9BB316#9BB316

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

Color values

HEX#9BB316
RGBrgb(155, 179, 22)
HSLhsl(69, 78%, 39%)
HSVhsv(69, 88%, 70%)
CMYKcmyk(13.4%, 0%, 87.7%, 29.8%)
CIE-LABlab(68.94, -26.53, 67.23)
CIE-LCHlch(68.94, 72.27, 111.53°)
OKLaboklab(72.33% -0.0803 0.1444)
OKLCHoklch(72.33% 0.165 119.1)
XYZxyz(29.7832, 39.2669, 6.7692)
Luminance0.3927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB316 #2E16B3
analogous
#B37D16 #9BB316 #4DB316
triadic
#9BB316 #169BB3 #B3169B
tetradic
#9BB316 #16B37D #2E16B3 #B3164D
square
#9BB316 #16B37D #2E16B3 #B3164D
split-complementary
#9BB316 #164DB3 #7D16B3
monochromatic
#3D4609 #6C7C0F #9BB316 #C6E422 #D4EB59

Accessibility & contrast

On white

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

On black

8.85
#9BB316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB316
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB316#FFFFFF#000000##000000
##9BB3161.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9bb316;
/* rgb */ color: rgb(155, 179, 22);
/* oklch */ color: oklch(72.3% 0.165 119.1);
Tailwind
colors: {
  custom: {
    50: '#bdc967',
    500: '#9bb316',
    950: '#000000',
  },
}
SCSS
$custom: #9bb316;
$custom-light: #bdc967;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb316",
  "rgb": {
    "r": 155,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 69.172,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.72326,
    "c": 0.16518,
    "h": 119.1
  },
  "luminance": 0.39267
}

Semantic roles & 50–950 ramp

primary
#9BB316
secondary
#6957CE
accent
#33F551
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #9BB316

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

Preview Lab → · Contrast checker → · Palette generator →

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