#9FC342#9FC342

#9FC342 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.6% C 0.159 H 123.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#9FC342
RGBrgb(159, 195, 66)
HSLhsl(77, 52%, 51%)
HSVhsv(77, 66%, 76%)
CMYKcmyk(18.5%, 0%, 66.2%, 23.5%)
CIE-LABlab(74.06, -30.49, 58.45)
CIE-LCHlch(74.06, 65.93, 117.55°)
OKLaboklab(76.59% -0.088 0.1327)
OKLCHoklch(76.59% 0.159 123.6)
XYZxyz(34.7969, 46.7943, 12.3522)
Luminance0.4679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC342 #6642C3
analogous
#C3A642 #9FC342 #5EC342
triadic
#9FC342 #429FC3 #C3429F
tetradic
#9FC342 #42C3A6 #6642C3 #C3425E
square
#9FC342 #42C3A6 #6642C3 #C3425E
split-complementary
#9FC342 #425EC3 #A642C3
monochromatic
#556921 #7B9830 #9FC342 #B7D270 #CEE09F

Accessibility & contrast

On white

2.03
#9FC342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.36
#9FC342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC342
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC342#FFFFFF#000000##000000
##9FC3421.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#A6BAA9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9fc342;
/* rgb */ color: rgb(159, 195, 66);
/* oklch */ color: oklch(76.6% 0.159 123.6);
Tailwind
colors: {
  custom: {
    50: '#bed57d',
    500: '#9fc342',
    950: '#000000',
  },
}
SCSS
$custom: #9fc342;
$custom-light: #bed57d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc342",
  "rgb": {
    "r": 159,
    "g": 195,
    "b": 66
  },
  "hsl": {
    "h": 76.744,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76594,
    "c": 0.15922,
    "h": 123.6
  },
  "luminance": 0.46794
}

Semantic roles & 50–950 ramp

primary
#9FC342
secondary
#A494CD
accent
#4DDB74
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9FC342

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

Preview Lab → · Contrast checker → · Palette generator →

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