#9FC842#9FC842

#9FC842 is a light, vivid yellow-green. Relative luminance 0.491; OKLCH L 77.8% C 0.165 H 124.8°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#9FC842
RGBrgb(159, 200, 66)
HSLhsl(78, 55%, 52%)
HSVhsv(78, 67%, 78%)
CMYKcmyk(20.5%, 0%, 67%, 21.6%)
CIE-LABlab(75.50, -32.83, 59.95)
CIE-LCHlch(75.50, 68.35, 118.71°)
OKLaboklab(77.76% -0.0945 0.1358)
OKLCHoklch(77.76% 0.165 124.8)
XYZxyz(35.9360, 49.0725, 12.7319)
Luminance0.4907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC842 #6B42C8
analogous
#C8AE42 #9FC842 #5CC842
triadic
#9FC842 #429FC8 #C8429F
tetradic
#9FC842 #42C8AE #6B42C8 #C8425C
square
#9FC842 #42C8AE #6B42C8 #C8425C
split-complementary
#9FC842 #425CC8 #AE42C8
monochromatic
#576F20 #7C9F2E #9FC842 #B7D671 #CFE4A1

Accessibility & contrast

On white

1.94
#9FC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#9FC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC842
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC842#FFFFFF#000000##000000
##9FC8421.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2F
Deuteranopia (green-blind)
#CDBA4D
Tritanopia (blue-blind)
#A6BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9fc842;
/* rgb */ color: rgb(159, 200, 66);
/* oklch */ color: oklch(77.8% 0.165 124.8);
Tailwind
colors: {
  custom: {
    50: '#bfd87d',
    500: '#9fc842',
    950: '#000000',
  },
}
SCSS
$custom: #9fc842;
$custom-light: #bfd87d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc842",
  "rgb": {
    "r": 159,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 78.358,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77756,
    "c": 0.16546,
    "h": 124.8
  },
  "luminance": 0.49073
}

Semantic roles & 50–950 ramp

primary
#9FC842
secondary
#A896D0
accent
#4ADE77
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9FC842

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

Preview Lab → · Contrast checker → · Palette generator →

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