#9FB72A#9FB72A

#9FB72A is a light, vivid yellow-green. Relative luminance 0.414; OKLCH L 73.6% C 0.160 H 119.2°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#9FB72A
RGBrgb(159, 183, 42)
HSLhsl(70, 63%, 44%)
HSVhsv(70, 77%, 72%)
CMYKcmyk(13.1%, 0%, 77%, 28.2%)
CIE-LABlab(70.46, -26.10, 63.54)
CIE-LCHlch(70.46, 68.69, 112.33°)
OKLaboklab(73.64% -0.078 0.1396)
OKLCHoklch(73.64% 0.16 119.2)
XYZxyz(31.6502, 41.4053, 8.5147)
Luminance0.4140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB72A #422AB7
analogous
#B7892A #9FB72A #59B72A
triadic
#9FB72A #2A9FB7 #B72A9F
tetradic
#9FB72A #2AB789 #422AB7 #B72A59
square
#9FB72A #2AB789 #422AB7 #B72A59
split-complementary
#9FB72A #2A59B7 #892AB7
monochromatic
#495313 #74851F #9FB72A #BDD549 #CFE17B

Accessibility & contrast

On white

2.26
#9FB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#9FB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB72A
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB72A#FFFFFF#000000##000000
##9FB72A1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC01
Deuteranopia (green-blind)
#C0AD37
Tritanopia (blue-blind)
#A9AD9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9fb72a;
/* rgb */ color: rgb(159, 183, 42);
/* oklch */ color: oklch(73.6% 0.160 119.2);
Tailwind
colors: {
  custom: {
    50: '#bfcc6f',
    500: '#9fb72a',
    950: '#000000',
  },
}
SCSS
$custom: #9fb72a;
$custom-light: #bfcc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb72a",
  "rgb": {
    "r": 159,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 70.213,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73643,
    "c": 0.1599,
    "h": 119.2
  },
  "luminance": 0.41405
}

Semantic roles & 50–950 ramp

primary
#9FB72A
secondary
#8274C9
accent
#42E65E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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