#9FCF42#9FCF42

#9FCF42 is a light, vivid yellow-green. Relative luminance 0.524; OKLCH L 79.4% C 0.174 H 126.4°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#9FCF42
RGBrgb(159, 207, 66)
HSLhsl(80, 59%, 54%)
HSVhsv(80, 68%, 81%)
CMYKcmyk(23.2%, 0%, 68.1%, 18.8%)
CIE-LABlab(77.51, -36.05, 62.03)
CIE-LCHlch(77.51, 71.75, 120.16°)
OKLaboklab(79.39% -0.1033 0.1402)
OKLCHoklch(79.39% 0.174 126.4)
XYZxyz(37.5944, 52.3893, 13.2847)
Luminance0.5239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCF42 #7242CF
analogous
#CFB942 #9FCF42 #58CF42
triadic
#9FCF42 #429FCF #CF429F
tetradic
#9FCF42 #42CFB9 #7242CF #CF4258
square
#9FCF42 #42CFB9 #7242CF #CF4258
split-complementary
#9FCF42 #4258CF #B942CF
monochromatic
#5A781F #7EA92B #9FCF42 #B8DB73 #D1E8A4

Accessibility & contrast

On white

1.83
#9FCF42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#9FCF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCF42
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCF42#FFFFFF#000000##000000
##9FCF421.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC12D
Deuteranopia (green-blind)
#D3BF4E
Tritanopia (blue-blind)
#A5C6B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9fcf42;
/* rgb */ color: rgb(159, 207, 66);
/* oklch */ color: oklch(79.4% 0.174 126.4);
Tailwind
colors: {
  custom: {
    50: '#bfde7e',
    500: '#9fcf42',
    950: '#000000',
  },
}
SCSS
$custom: #9fcf42;
$custom-light: #bfde7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcf42",
  "rgb": {
    "r": 159,
    "g": 207,
    "b": 66
  },
  "hsl": {
    "h": 80.426,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79388,
    "c": 0.17417,
    "h": 126.4
  },
  "luminance": 0.5239
}

Semantic roles & 50–950 ramp

primary
#9FCF42
secondary
#4F3580
accent
#45E37B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FCF42

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

Preview Lab → · Contrast checker → · Palette generator →

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