#9FBB31#9FBB31

#9FBB31 is a light, vivid yellow-green. Relative luminance 0.431; OKLCH L 74.6% C 0.161 H 120.6°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#9FBB31
RGBrgb(159, 187, 49)
HSLhsl(72, 58%, 46%)
HSVhsv(72, 74%, 73%)
CMYKcmyk(15%, 0%, 73.8%, 26.7%)
CIE-LABlab(71.65, -27.70, 62.37)
CIE-LCHlch(71.65, 68.24, 113.95°)
OKLaboklab(74.61% -0.0819 0.1383)
OKLCHoklch(74.61% 0.161 120.6)
XYZxyz(32.6234, 43.1334, 9.5121)
Luminance0.4313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBB31 #4D31BB
analogous
#BB9231 #9FBB31 #5ABB31
triadic
#9FBB31 #319FBB #BB319F
tetradic
#9FBB31 #31BB92 #4D31BB #BB315A
square
#9FBB31 #31BB92 #4D31BB #BB315A
split-complementary
#9FBB31 #315ABB #9231BB
monochromatic
#4D5A18 #768B24 #9FBB31 #BAD356 #CEE087

Accessibility & contrast

On white

2.18
#9FBB31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#9FBB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBB31
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBB31#FFFFFF#000000##000000
##9FBB311.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B014
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#A8B1A1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9fbb31;
/* rgb */ color: rgb(159, 187, 49);
/* oklch */ color: oklch(74.6% 0.161 120.6);
Tailwind
colors: {
  custom: {
    50: '#bfcf73',
    500: '#9fbb31',
    950: '#000000',
  },
}
SCSS
$custom: #9fbb31;
$custom-light: #bfcf73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fbb31",
  "rgb": {
    "r": 159,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 72.174,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74611,
    "c": 0.16069,
    "h": 120.6
  },
  "luminance": 0.43133
}

Semantic roles & 50–950 ramp

primary
#9FBB31
secondary
#8E7FC9
accent
#46E266
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FBB31

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

Preview Lab → · Contrast checker → · Palette generator →

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