#9FC42A#9FC42A

#9FC42A is a light, vivid yellow-green. Relative luminance 0.470; OKLCH L 76.7% C 0.175 H 122.9°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#9FC42A
RGBrgb(159, 196, 42)
HSLhsl(74, 65%, 47%)
HSVhsv(74, 79%, 77%)
CMYKcmyk(18.9%, 0%, 78.6%, 23.1%)
CIE-LABlab(74.20, -32.28, 66.97)
CIE-LCHlch(74.20, 74.34, 115.74°)
OKLaboklab(76.66% -0.0949 0.1468)
OKLCHoklch(76.66% 0.175 122.9)
XYZxyz(34.4564, 47.0178, 9.4501)
Luminance0.4702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC42A #4F2AC4
analogous
#C49C2A #9FC42A #52C42A
triadic
#9FC42A #2A9FC4 #C42A9F
tetradic
#9FC42A #2AC49C #4F2AC4 #C42A52
square
#9FC42A #2AC49C #4F2AC4 #C42A52
split-complementary
#9FC42A #2A52C4 #9C2AC4
monochromatic
#4D5F14 #76921F #9FC42A #B9DA51 #CDE584

Accessibility & contrast

On white

2.02
#9FC42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#9FC42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC42A
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC42A#FFFFFF#000000##000000
##9FC42A1.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B700
Deuteranopia (green-blind)
#CBB63A
Tritanopia (blue-blind)
#A7BAA8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9fc42a;
/* rgb */ color: rgb(159, 196, 42);
/* oklch */ color: oklch(76.7% 0.175 122.9);
Tailwind
colors: {
  custom: {
    50: '#bfd671',
    500: '#9fc42a',
    950: '#000000',
  },
}
SCSS
$custom: #9fc42a;
$custom-light: #bfd671;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc42a",
  "rgb": {
    "r": 159,
    "g": 196,
    "b": 42
  },
  "hsl": {
    "h": 74.416,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.76663,
    "c": 0.17485,
    "h": 122.9
  },
  "luminance": 0.47018
}

Semantic roles & 50–950 ramp

primary
#9FC42A
secondary
#907CCE
accent
#40E868
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9FC42A

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

Preview Lab → · Contrast checker → · Palette generator →

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