#9FB151#9FB151

#9FB151 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.6% C 0.124 H 118.4°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#9FB151
RGBrgb(159, 177, 81)
HSLhsl(71, 38%, 51%)
HSVhsv(71, 54%, 69%)
CMYKcmyk(10.2%, 0%, 54.2%, 30.6%)
CIE-LABlab(69.05, -20.55, 46.34)
CIE-LCHlch(69.05, 50.69, 113.91°)
OKLaboklab(72.61% -0.0588 0.1087)
OKLCHoklch(72.61% 0.124 118.4)
XYZxyz(31.5058, 39.4095, 13.7300)
Luminance0.3941 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB151 #6351B1
analogous
#B19351 #9FB151 #6FB151
triadic
#9FB151 #519FB1 #B1519F
tetradic
#9FB151 #51B193 #6351B1 #B1516F
square
#9FB151 #51B193 #6351B1 #B1516F
split-complementary
#9FB151 #516FB1 #9351B1
monochromatic
#545E2A #7A883D #9FB151 #B6C47B #CED7A6

Accessibility & contrast

On white

2.36
#9FB151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#9FB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB151
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB151#FFFFFF#000000##000000
##9FB1511.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA848
Deuteranopia (green-blind)
#B9A957
Tritanopia (blue-blind)
#A7A99C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb151;
/* rgb */ color: rgb(159, 177, 81);
/* oklch */ color: oklch(72.6% 0.124 118.4);
Tailwind
colors: {
  custom: {
    50: '#bdc885',
    500: '#9fb151',
    950: '#000000',
  },
}
SCSS
$custom: #9fb151;
$custom-light: #bdc885;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb151",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 71.25,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72605,
    "c": 0.12363,
    "h": 118.4
  },
  "luminance": 0.39409
}

Semantic roles & 50–950 ramp

primary
#9FB151
secondary
#A29AC4
accent
#5ACE70
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9FB151

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

Preview Lab → · Contrast checker → · Palette generator →

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