#9FC542#9FC542

#9FC542 is a light, vivid yellow-green. Relative luminance 0.477; OKLCH L 77.1% C 0.162 H 124.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#9FC542
RGBrgb(159, 197, 66)
HSLhsl(77, 53%, 52%)
HSVhsv(77, 66%, 77%)
CMYKcmyk(19.3%, 0%, 66.5%, 22.7%)
CIE-LABlab(74.63, -31.43, 59.05)
CIE-LCHlch(74.63, 66.90, 118.03°)
OKLaboklab(77.06% -0.0906 0.1339)
OKLCHoklch(77.06% 0.162 124.1)
XYZxyz(35.2480, 47.6965, 12.5026)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC542 #6842C5
analogous
#C5AA42 #9FC542 #5EC542
triadic
#9FC542 #429FC5 #C5429F
tetradic
#9FC542 #42C5AA #6842C5 #C5425E
square
#9FC542 #42C5AA #6842C5 #C5425E
split-complementary
#9FC542 #425EC5 #AA42C5
monochromatic
#566C21 #7B9A2F #9FC542 #B7D371 #CFE2A0

Accessibility & contrast

On white

1.99
#9FC542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#9FC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC542
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC542#FFFFFF#000000##000000
##9FC5421.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B930
Deuteranopia (green-blind)
#CBB74C
Tritanopia (blue-blind)
#A6BCAA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #9fc542;
/* rgb */ color: rgb(159, 197, 66);
/* oklch */ color: oklch(77.1% 0.162 124.1);
Tailwind
colors: {
  custom: {
    50: '#bfd67d',
    500: '#9fc542',
    950: '#000000',
  },
}
SCSS
$custom: #9fc542;
$custom-light: #bfd67d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc542",
  "rgb": {
    "r": 159,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 77.405,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77058,
    "c": 0.16173,
    "h": 124.1
  },
  "luminance": 0.47697
}

Semantic roles & 50–950 ramp

primary
#9FC542
secondary
#A595CE
accent
#4BDC75
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9FC542

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

Preview Lab → · Contrast checker → · Palette generator →

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