#9FCE40#9FCE40

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

Color values

HEX#9FCE40
RGBrgb(159, 206, 64)
HSLhsl(80, 59%, 53%)
HSVhsv(80, 69%, 81%)
CMYKcmyk(22.8%, 0%, 68.9%, 19.2%)
CIE-LABlab(77.21, -35.72, 62.48)
CIE-LCHlch(77.21, 71.97, 119.76°)
OKLaboklab(79.14% -0.1026 0.1409)
OKLCHoklch(79.14% 0.174 126.1)
XYZxyz(37.2950, 51.8832, 12.8991)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCE40 #6F40CE
analogous
#CEB640 #9FCE40 #58CE40
triadic
#9FCE40 #409FCE #CE409F
tetradic
#9FCE40 #40CEB6 #6F40CE #CE4058
square
#9FCE40 #40CEB6 #6F40CE #CE4058
split-complementary
#9FCE40 #4058CE #B640CE
monochromatic
#59751E #7DA62B #9FCE40 #B7DA71 #D0E7A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FCE40#FFFFFF#000000##000000
##9FCE401.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)
#D9C02A
Deuteranopia (green-blind)
#D2BE4C
Tritanopia (blue-blind)
#A5C4B2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #9fce40;
/* rgb */ color: rgb(159, 206, 64);
/* oklch */ color: oklch(79.1% 0.174 126.1);
Tailwind
colors: {
  custom: {
    50: '#bfdd7d',
    500: '#9fce40',
    950: '#000000',
  },
}
SCSS
$custom: #9fce40;
$custom-light: #bfdd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fce40",
  "rgb": {
    "r": 159,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 79.859,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79139,
    "c": 0.17427,
    "h": 126.1
  },
  "luminance": 0.51884
}

Semantic roles & 50–950 ramp

primary
#9FCE40
secondary
#4D347E
accent
#45E279
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FCE40

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

Preview Lab → · Contrast checker → · Palette generator →

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