#9FC742#9FC742

#9FC742 is a light, vivid yellow-green. Relative luminance 0.486; OKLCH L 77.5% C 0.164 H 124.6°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#9FC742
RGBrgb(159, 199, 66)
HSLhsl(78, 54%, 52%)
HSVhsv(78, 67%, 78%)
CMYKcmyk(20.1%, 0%, 66.8%, 22%)
CIE-LABlab(75.21, -32.37, 59.65)
CIE-LCHlch(75.21, 67.87, 118.48°)
OKLaboklab(77.52% -0.0932 0.1352)
OKLCHoklch(77.52% 0.164 124.6)
XYZxyz(35.7051, 48.6108, 12.6549)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC742 #6A42C7
analogous
#C7AD42 #9FC742 #5DC742
triadic
#9FC742 #429FC7 #C7429F
tetradic
#9FC742 #42C7AD #6A42C7 #C7425D
square
#9FC742 #42C7AD #6A42C7 #C7425D
split-complementary
#9FC742 #425DC7 #AD42C7
monochromatic
#576E21 #7C9D2F #9FC742 #B7D571 #CFE3A0

Accessibility & contrast

On white

1.96
#9FC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#9FC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC742
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC742#FFFFFF#000000##000000
##9FC7421.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#CCB94C
Tritanopia (blue-blind)
#A6BEAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9fc742;
/* rgb */ color: rgb(159, 199, 66);
/* oklch */ color: oklch(77.5% 0.164 124.6);
Tailwind
colors: {
  custom: {
    50: '#bfd87d',
    500: '#9fc742',
    950: '#000000',
  },
}
SCSS
$custom: #9fc742;
$custom-light: #bfd87d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc742",
  "rgb": {
    "r": 159,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 78.045,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77523,
    "c": 0.16422,
    "h": 124.6
  },
  "luminance": 0.48611
}

Semantic roles & 50–950 ramp

primary
#9FC742
secondary
#A795D0
accent
#4ADE77
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9FC742

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

Preview Lab → · Contrast checker → · Palette generator →

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