#9FD940#9FD940

#9FD940 is a light, vivid yellow-green. Relative luminance 0.574; OKLCH L 81.7% C 0.188 H 128.2°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#9FD940
RGBrgb(159, 217, 64)
HSLhsl(83, 67%, 55%)
HSVhsv(83, 71%, 85%)
CMYKcmyk(26.7%, 0%, 70.5%, 14.9%)
CIE-LABlab(80.39, -40.64, 65.69)
CIE-LCHlch(80.39, 77.25, 121.75°)
OKLaboklab(81.71% -0.1161 0.1476)
OKLCHoklch(81.71% 0.188 128.2)
XYZxyz(40.0363, 57.3659, 13.8129)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FD940 #7A40D9
analogous
#D9C640 #9FD940 #53D940
triadic
#9FD940 #409FD9 #D9409F
tetradic
#9FD940 #40D9C6 #7A40D9 #D94053
square
#9FD940 #40D9C6 #7A40D9 #D94053
split-complementary
#9FD940 #4053D9 #C640D9
monochromatic
#5C841A #80B724 #9FD940 #B9E373 #D2EDA6

Accessibility & contrast

On white

1.68
#9FD940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#9FD940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FD940
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FD940#FFFFFF#000000##000000
##9FD9401.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA26
Deuteranopia (green-blind)
#DCC64E
Tritanopia (blue-blind)
#A4CFBB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #9fd940;
/* rgb */ color: rgb(159, 217, 64);
/* oklch */ color: oklch(81.7% 0.188 128.2);
Tailwind
colors: {
  custom: {
    50: '#c0e57e',
    500: '#9fd940',
    950: '#000000',
  },
}
SCSS
$custom: #9fd940;
$custom-light: #c0e57e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fd940",
  "rgb": {
    "r": 159,
    "g": 217,
    "b": 64
  },
  "hsl": {
    "h": 82.745,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81713,
    "c": 0.18777,
    "h": 128.2
  },
  "luminance": 0.57367
}

Semantic roles & 50–950 ramp

primary
#9FD940
secondary
#54328B
accent
#3EEA7F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #9FD940

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

Preview Lab → · Contrast checker → · Palette generator →

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