#9FC942#9FC942

#9FC942 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 78.0% C 0.167 H 125.1°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#9FC942
RGBrgb(159, 201, 66)
HSLhsl(79, 56%, 52%)
HSVhsv(79, 67%, 79%)
CMYKcmyk(20.9%, 0%, 67.2%, 21.2%)
CIE-LABlab(75.78, -33.30, 60.25)
CIE-LCHlch(75.78, 68.84, 118.93°)
OKLaboklab(77.99% -0.0958 0.1364)
OKLCHoklch(77.99% 0.167 125.1)
XYZxyz(36.1683, 49.5372, 12.8093)
Luminance0.4954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC942 #6C42C9
analogous
#C9B042 #9FC942 #5BC942
triadic
#9FC942 #429FC9 #C9429F
tetradic
#9FC942 #42C9B0 #6C42C9 #C9425B
square
#9FC942 #42C9B0 #6C42C9 #C9425B
split-complementary
#9FC942 #425BC9 #B042C9
monochromatic
#577020 #7CA02E #9FC942 #B7D772 #CFE4A1

Accessibility & contrast

On white

1.93
#9FC942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.91
#9FC942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC942
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC942#FFFFFF#000000##000000
##9FC9421.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2E
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#A6C0AE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9fc942;
/* rgb */ color: rgb(159, 201, 66);
/* oklch */ color: oklch(78.0% 0.167 125.1);
Tailwind
colors: {
  custom: {
    50: '#bfd97d',
    500: '#9fc942',
    950: '#000000',
  },
}
SCSS
$custom: #9fc942;
$custom-light: #bfd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc942",
  "rgb": {
    "r": 159,
    "g": 201,
    "b": 66
  },
  "hsl": {
    "h": 78.667,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77989,
    "c": 0.16671,
    "h": 125.1
  },
  "luminance": 0.49538
}

Semantic roles & 50–950 ramp

primary
#9FC942
secondary
#A896D1
accent
#49DF78
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9FC942

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

Preview Lab → · Contrast checker → · Palette generator →

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