#9FC42E#9FC42E

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

Color values

HEX#9FC42E
RGBrgb(159, 196, 46)
HSLhsl(75, 62%, 47%)
HSVhsv(75, 77%, 77%)
CMYKcmyk(18.9%, 0%, 76.5%, 23.1%)
CIE-LABlab(74.22, -32.10, 65.78)
CIE-LCHlch(74.22, 73.20, 116.01°)
OKLaboklab(76.69% -0.0942 0.145)
OKLCHoklch(76.69% 0.173 123)
XYZxyz(34.5316, 47.0479, 9.8462)
Luminance0.4705 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC42E #532EC4
analogous
#C49E2E #9FC42E #54C42E
triadic
#9FC42E #2E9FC4 #C42E9F
tetradic
#9FC42E #2EC49E #532EC4 #C42E54
square
#9FC42E #2EC49E #532EC4 #C42E54
split-complementary
#9FC42E #2E54C4 #9E2EC4
monochromatic
#4F6117 #779222 #9FC42E #B8D858 #CDE389

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FC42E#FFFFFF#000000##000000
##9FC42E1.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)
#D0B803
Deuteranopia (green-blind)
#CBB63D
Tritanopia (blue-blind)
#A7BAA8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9fc42e;
/* rgb */ color: rgb(159, 196, 46);
/* oklch */ color: oklch(76.7% 0.173 123.0);
Tailwind
colors: {
  custom: {
    50: '#bfd673',
    500: '#9fc42e',
    950: '#000000',
  },
}
SCSS
$custom: #9fc42e;
$custom-light: #bfd673;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc42e",
  "rgb": {
    "r": 159,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 74.8,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.76685,
    "c": 0.17288,
    "h": 123
  },
  "luminance": 0.47048
}

Semantic roles & 50–950 ramp

primary
#9FC42E
secondary
#9481CD
accent
#43E56B
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9FC42E

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

Preview Lab → · Contrast checker → · Palette generator →

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