#9FC42F#9FC42F

#9FC42F is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.7% C 0.172 H 123.0°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#9FC42F
RGBrgb(159, 196, 47)
HSLhsl(75, 61%, 48%)
HSVhsv(75, 76%, 77%)
CMYKcmyk(18.9%, 0%, 76%, 23.1%)
CIE-LABlab(74.23, -32.06, 65.47)
CIE-LCHlch(74.23, 72.90, 116.09°)
OKLaboklab(76.69% -0.094 0.1445)
OKLCHoklch(76.69% 0.172 123)
XYZxyz(34.5516, 47.0558, 9.9512)
Luminance0.4706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC42F #542FC4
analogous
#C49E2F #9FC42F #55C42F
triadic
#9FC42F #2F9FC4 #C42F9F
tetradic
#9FC42F #2FC49E #542FC4 #C42F55
square
#9FC42F #2FC49E #542FC4 #C42F55
split-complementary
#9FC42F #2F55C4 #9E2FC4
monochromatic
#4F6117 #779323 #9FC42F #B8D759 #CDE38A

Accessibility & contrast

On white

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

On black

10.41
#9FC42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC42F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC42F#FFFFFF#000000##000000
##9FC42F1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fc42f;
/* rgb */ color: rgb(159, 196, 47);
/* oklch */ color: oklch(76.7% 0.172 123.0);
Tailwind
colors: {
  custom: {
    50: '#bfd673',
    500: '#9fc42f',
    950: '#000000',
  },
}
SCSS
$custom: #9fc42f;
$custom-light: #bfd673;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc42f",
  "rgb": {
    "r": 159,
    "g": 196,
    "b": 47
  },
  "hsl": {
    "h": 74.899,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76691,
    "c": 0.17235,
    "h": 123
  },
  "luminance": 0.47056
}

Semantic roles & 50–950 ramp

primary
#9FC42F
secondary
#9482CD
accent
#43E46B
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9FC42F

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

Preview Lab → · Contrast checker → · Palette generator →

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