#9FC242#9FC242

#9FC242 is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.4% C 0.158 H 123.3°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#9FC242
RGBrgb(159, 194, 66)
HSLhsl(76, 51%, 51%)
HSVhsv(76, 66%, 76%)
CMYKcmyk(18%, 0%, 66%, 23.9%)
CIE-LABlab(73.77, -30.02, 58.15)
CIE-LCHlch(73.77, 65.45, 117.30°)
OKLaboklab(76.36% -0.0867 0.132)
OKLCHoklch(76.36% 0.158 123.3)
XYZxyz(34.5736, 46.3477, 12.2778)
Luminance0.4635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC242 #6542C2
analogous
#C2A542 #9FC242 #5FC242
triadic
#9FC242 #429FC2 #C2429F
tetradic
#9FC242 #42C2A5 #6542C2 #C2425F
square
#9FC242 #42C2A5 #6542C2 #C2425F
split-complementary
#9FC242 #425FC2 #A542C2
monochromatic
#556822 #7A9631 #9FC242 #B7D170 #CEE09F

Accessibility & contrast

On white

2.04
#9FC242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#9FC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC242
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC242#FFFFFF#000000##000000
##9FC2421.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB630
Deuteranopia (green-blind)
#C8B54C
Tritanopia (blue-blind)
#A7B9A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9fc242;
/* rgb */ color: rgb(159, 194, 66);
/* oklch */ color: oklch(76.4% 0.158 123.3);
Tailwind
colors: {
  custom: {
    50: '#bed47d',
    500: '#9fc242',
    950: '#000000',
  },
}
SCSS
$custom: #9fc242;
$custom-light: #bed47d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc242",
  "rgb": {
    "r": 159,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 76.406,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76362,
    "c": 0.15798,
    "h": 123.3
  },
  "luminance": 0.46348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9FC242

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

Preview Lab → · Contrast checker → · Palette generator →

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