#9FBC31#9FBC31

#9FBC31 is a light, vivid yellow-green. Relative luminance 0.436; OKLCH L 74.8% C 0.162 H 120.9°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#9FBC31
RGBrgb(159, 188, 49)
HSLhsl(73, 59%, 46%)
HSVhsv(73, 74%, 74%)
CMYKcmyk(15.4%, 0%, 73.9%, 26.3%)
CIE-LABlab(71.93, -28.18, 62.65)
CIE-LCHlch(71.93, 68.69, 114.22°)
OKLaboklab(74.84% -0.0832 0.1389)
OKLCHoklch(74.84% 0.162 120.9)
XYZxyz(32.8362, 43.5592, 9.5830)
Luminance0.4356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBC31 #4E31BC
analogous
#BC9431 #9FBC31 #5ABC31
triadic
#9FBC31 #319FBC #BC319F
tetradic
#9FBC31 #31BC94 #4E31BC #BC315A
square
#9FBC31 #31BC94 #4E31BC #BC315A
split-complementary
#9FBC31 #315ABC #9431BC
monochromatic
#4D5B18 #768B24 #9FBC31 #B9D357 #CDE088

Accessibility & contrast

On white

2.16
#9FBC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#9FBC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBC31
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBC31#FFFFFF#000000##000000
##9FBC311.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#A8B2A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #9fbc31;
/* rgb */ color: rgb(159, 188, 49);
/* oklch */ color: oklch(74.8% 0.162 120.9);
Tailwind
colors: {
  custom: {
    50: '#bfd073',
    500: '#9fbc31',
    950: '#000000',
  },
}
SCSS
$custom: #9fbc31;
$custom-light: #bfd073;
$custom-dark: #000000;
JSON
{
  "hex": "#9fbc31",
  "rgb": {
    "r": 159,
    "g": 188,
    "b": 49
  },
  "hsl": {
    "h": 72.518,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74843,
    "c": 0.16186,
    "h": 120.9
  },
  "luminance": 0.43559
}

Semantic roles & 50–950 ramp

primary
#9FBC31
secondary
#8F7FCA
accent
#46E266
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #9FBC31

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

Preview Lab → · Contrast checker → · Palette generator →

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