#9FBC2F#9FBC2F

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

Color values

HEX#9FBC2F
RGBrgb(159, 188, 47)
HSLhsl(72, 60%, 46%)
HSVhsv(72, 75%, 74%)
CMYKcmyk(15.4%, 0%, 75%, 26.3%)
CIE-LABlab(71.92, -28.28, 63.30)
CIE-LCHlch(71.92, 69.33, 114.07°)
OKLaboklab(74.83% -0.0836 0.1399)
OKLCHoklch(74.83% 0.163 120.9)
XYZxyz(32.7950, 43.5427, 9.3657)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBC2F #4C2FBC
analogous
#BC922F #9FBC2F #59BC2F
triadic
#9FBC2F #2F9FBC #BC2F9F
tetradic
#9FBC2F #2FBC92 #4C2FBC #BC2F59
square
#9FBC2F #2FBC92 #4C2FBC #BC2F59
split-complementary
#9FBC2F #2F59BC #922FBC
monochromatic
#4C5A17 #768B23 #9FBC2F #BAD454 #CEE085

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FBC2F#FFFFFF#000000##000000
##9FBC2F1.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)
#C8B10E
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#A8B2A1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #9fbc2f;
/* rgb */ color: rgb(159, 188, 47);
/* oklch */ color: oklch(74.8% 0.163 120.9);
Tailwind
colors: {
  custom: {
    50: '#bfd072',
    500: '#9fbc2f',
    950: '#000000',
  },
}
SCSS
$custom: #9fbc2f;
$custom-light: #bfd072;
$custom-dark: #000000;
JSON
{
  "hex": "#9fbc2f",
  "rgb": {
    "r": 159,
    "g": 188,
    "b": 47
  },
  "hsl": {
    "h": 72.34,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7483,
    "c": 0.16298,
    "h": 120.9
  },
  "luminance": 0.43543
}

Semantic roles & 50–950 ramp

primary
#9FBC2F
secondary
#8D7DCA
accent
#45E365
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B

Preview Lab

Preview with #9FBC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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