#9FD040#9FD040

#9FD040 is a light, vivid yellow-green. Relative luminance 0.529; OKLCH L 79.6% C 0.177 H 126.5°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#9FD040
RGBrgb(159, 208, 64)
HSLhsl(80, 61%, 53%)
HSVhsv(80, 69%, 82%)
CMYKcmyk(23.6%, 0%, 69.2%, 18.4%)
CIE-LABlab(77.79, -36.63, 63.07)
CIE-LCHlch(77.79, 72.93, 120.15°)
OKLaboklab(79.61% -0.1051 0.1421)
OKLCHoklch(79.61% 0.177 126.5)
XYZxyz(37.7795, 52.8522, 13.0606)
Luminance0.5285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FD040 #7140D0
analogous
#D0B940 #9FD040 #57D040
triadic
#9FD040 #409FD0 #D0409F
tetradic
#9FD040 #40D0B9 #7140D0 #D04057
square
#9FD040 #40D0B9 #7140D0 #D04057
split-complementary
#9FD040 #4057D0 #B940D0
monochromatic
#59781E #7EA92A #9FD040 #B8DC71 #D0E8A2

Accessibility & contrast

On white

1.81
#9FD040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#9FD040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FD040
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FD040#FFFFFF#000000##000000
##9FD0401.001.8111.5711.57
#FFFFFF1.811.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC229
Deuteranopia (green-blind)
#D4BF4C
Tritanopia (blue-blind)
#A5C6B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #9fd040;
/* rgb */ color: rgb(159, 208, 64);
/* oklch */ color: oklch(79.6% 0.177 126.5);
Tailwind
colors: {
  custom: {
    50: '#bfde7d',
    500: '#9fd040',
    950: '#000000',
  },
}
SCSS
$custom: #9fd040;
$custom-light: #bfde7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fd040",
  "rgb": {
    "r": 159,
    "g": 208,
    "b": 64
  },
  "hsl": {
    "h": 80.417,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79606,
    "c": 0.17673,
    "h": 126.5
  },
  "luminance": 0.52853
}

Semantic roles & 50–950 ramp

primary
#9FD040
secondary
#4E3480
accent
#44E47A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FD040

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

Preview Lab → · Contrast checker → · Palette generator →

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