#9FCE42#9FCE42

#9FCE42 is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.2% C 0.173 H 126.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#9FCE42
RGBrgb(159, 206, 66)
HSLhsl(80, 59%, 53%)
HSVhsv(80, 68%, 81%)
CMYKcmyk(22.8%, 0%, 68%, 19.2%)
CIE-LABlab(77.22, -35.59, 61.74)
CIE-LCHlch(77.22, 71.26, 119.96°)
OKLaboklab(79.16% -0.1021 0.1396)
OKLCHoklch(79.16% 0.173 126.2)
XYZxyz(37.3529, 51.9063, 13.2042)
Luminance0.5191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCE42 #7142CE
analogous
#CEB742 #9FCE42 #59CE42
triadic
#9FCE42 #429FCE #CE429F
tetradic
#9FCE42 #42CEB7 #7142CE #CE4259
square
#9FCE42 #42CEB7 #7142CE #CE4259
split-complementary
#9FCE42 #4259CE #B742CE
monochromatic
#59771F #7EA72B #9FCE42 #B8DB73 #D0E7A3

Accessibility & contrast

On white

1.85
#9FCE42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#9FCE42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCE42
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCE42#FFFFFF#000000##000000
##9FCE421.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12D
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#A5C5B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9fce42;
/* rgb */ color: rgb(159, 206, 66);
/* oklch */ color: oklch(79.2% 0.173 126.2);
Tailwind
colors: {
  custom: {
    50: '#bfdd7e',
    500: '#9fce42',
    950: '#000000',
  },
}
SCSS
$custom: #9fce42;
$custom-light: #bfdd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fce42",
  "rgb": {
    "r": 159,
    "g": 206,
    "b": 66
  },
  "hsl": {
    "h": 80.143,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79155,
    "c": 0.17292,
    "h": 126.2
  },
  "luminance": 0.51907
}

Semantic roles & 50–950 ramp

primary
#9FCE42
secondary
#4E357F
accent
#46E27A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FCE42

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

Preview Lab → · Contrast checker → · Palette generator →

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