#9FBA2F#9FBA2F

#9FBA2F is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.4% C 0.161 H 120.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#9FBA2F
RGBrgb(159, 186, 47)
HSLhsl(72, 60%, 46%)
HSVhsv(72, 75%, 73%)
CMYKcmyk(14.5%, 0%, 74.7%, 27.1%)
CIE-LABlab(71.35, -27.32, 62.76)
CIE-LCHlch(71.35, 68.45, 113.53°)
OKLaboklab(74.37% -0.081 0.1388)
OKLCHoklch(74.37% 0.161 120.3)
XYZxyz(32.3707, 42.6941, 9.2242)
Luminance0.4269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FBA2F #4A2FBA
analogous
#BA902F #9FBA2F #59BA2F
triadic
#9FBA2F #2F9FBA #BA2F9F
tetradic
#9FBA2F #2FBA90 #4A2FBA #BA2F59
square
#9FBA2F #2FBA90 #4A2FBA #BA2F59
split-complementary
#9FBA2F #2F59BA #902FBA
monochromatic
#4B5816 #758923 #9FBA2F #BAD353 #CEE084

Accessibility & contrast

On white

2.20
#9FBA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#9FBA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FBA2F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FBA2F#FFFFFF#000000##000000
##9FBA2F1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0F
Deuteranopia (green-blind)
#C3AF3C
Tritanopia (blue-blind)
#A8B0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #9fba2f;
/* rgb */ color: rgb(159, 186, 47);
/* oklch */ color: oklch(74.4% 0.161 120.3);
Tailwind
colors: {
  custom: {
    50: '#bfce72',
    500: '#9fba2f',
    950: '#000000',
  },
}
SCSS
$custom: #9fba2f;
$custom-light: #bfce72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fba2f",
  "rgb": {
    "r": 159,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 71.655,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74367,
    "c": 0.16067,
    "h": 120.3
  },
  "luminance": 0.42694
}

Semantic roles & 50–950 ramp

primary
#9FBA2F
secondary
#8B7CC9
accent
#45E364
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FBA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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