#9FCC42#9FCC42

#9FCC42 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.7% C 0.170 H 125.7°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#9FCC42
RGBrgb(159, 204, 66)
HSLhsl(80, 58%, 53%)
HSVhsv(80, 68%, 80%)
CMYKcmyk(22.1%, 0%, 67.6%, 20%)
CIE-LABlab(76.65, -34.68, 61.14)
CIE-LCHlch(76.65, 70.29, 119.56°)
OKLaboklab(78.69% -0.0996 0.1383)
OKLCHoklch(78.69% 0.17 125.7)
XYZxyz(36.8745, 50.9495, 13.0447)
Luminance0.5095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCC42 #6F42CC
analogous
#CCB442 #9FCC42 #5ACC42
triadic
#9FCC42 #429FCC #CC429F
tetradic
#9FCC42 #42CCB4 #6F42CC #CC425A
square
#9FCC42 #42CCB4 #6F42CC #CC425A
split-complementary
#9FCC42 #425ACC #B442CC
monochromatic
#59741F #7DA42C #9FCC42 #B7D972 #D0E6A2

Accessibility & contrast

On white

1.88
#9FCC42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#9FCC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCC42
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCC42#FFFFFF#000000##000000
##9FCC421.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2E
Deuteranopia (green-blind)
#D1BC4D
Tritanopia (blue-blind)
#A6C3B0
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9fcc42;
/* rgb */ color: rgb(159, 204, 66);
/* oklch */ color: oklch(78.7% 0.170 125.7);
Tailwind
colors: {
  custom: {
    50: '#bfdb7e',
    500: '#9fcc42',
    950: '#000000',
  },
}
SCSS
$custom: #9fcc42;
$custom-light: #bfdb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcc42",
  "rgb": {
    "r": 159,
    "g": 204,
    "b": 66
  },
  "hsl": {
    "h": 79.565,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78688,
    "c": 0.17044,
    "h": 125.7
  },
  "luminance": 0.5095
}

Semantic roles & 50–950 ramp

primary
#9FCC42
secondary
#4D357D
accent
#47E179
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FCC42

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

Preview Lab → · Contrast checker → · Palette generator →

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