#9FC02A#9FC02A

#9FC02A is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.7% C 0.170 H 121.8°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#9FC02A
RGBrgb(159, 192, 42)
HSLhsl(73, 64%, 46%)
HSVhsv(73, 78%, 75%)
CMYKcmyk(17.2%, 0%, 78.1%, 24.7%)
CIE-LABlab(73.05, -30.41, 65.92)
CIE-LCHlch(73.05, 72.59, 114.76°)
OKLaboklab(75.73% -0.0898 0.1446)
OKLCHoklch(75.73% 0.17 121.8)
XYZxyz(33.5662, 45.2373, 9.1534)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC02A #4B2AC0
analogous
#C0962A #9FC02A #54C02A
triadic
#9FC02A #2A9FC0 #C02A9F
tetradic
#9FC02A #2AC096 #4B2AC0 #C02A54
square
#9FC02A #2AC096 #4B2AC0 #C02A54
split-complementary
#9FC02A #2A54C0 #962AC0
monochromatic
#4C5C14 #758E1F #9FC02A #BAD84F #CEE381

Accessibility & contrast

On white

2.09
#9FC02A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#9FC02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC02A
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC02A#FFFFFF#000000##000000
##9FC02A1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#A8B6A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #9fc02a;
/* rgb */ color: rgb(159, 192, 42);
/* oklch */ color: oklch(75.7% 0.170 121.8);
Tailwind
colors: {
  custom: {
    50: '#bfd371',
    500: '#9fc02a',
    950: '#000000',
  },
}
SCSS
$custom: #9fc02a;
$custom-light: #bfd371;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc02a",
  "rgb": {
    "r": 159,
    "g": 192,
    "b": 42
  },
  "hsl": {
    "h": 73.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75731,
    "c": 0.17023,
    "h": 121.8
  },
  "luminance": 0.45237
}

Semantic roles & 50–950 ramp

primary
#9FC02A
secondary
#8C7ACC
accent
#41E765
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B

Preview Lab

Preview with #9FC02A

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

Preview Lab → · Contrast checker → · Palette generator →

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