#9FC040#9FC040

#9FC040 is a light, vivid yellow-green. Relative luminance 0.454; OKLCH L 75.9% C 0.157 H 122.6°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#9FC040
RGBrgb(159, 192, 64)
HSLhsl(75, 50%, 50%)
HSVhsv(75, 67%, 75%)
CMYKcmyk(17.2%, 0%, 66.7%, 24.7%)
CIE-LABlab(73.18, -29.21, 58.34)
CIE-LCHlch(73.18, 65.24, 116.60°)
OKLaboklab(75.88% -0.0847 0.1322)
OKLCHoklch(75.88% 0.157 122.6)
XYZxyz(34.0735, 45.4402, 11.8253)
Luminance0.4544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC040 #6140C0
analogous
#C0A140 #9FC040 #5FC040
triadic
#9FC040 #409FC0 #C0409F
tetradic
#9FC040 #40C0A1 #6140C0 #C0405F
square
#9FC040 #40C0A1 #6140C0 #C0405F
split-complementary
#9FC040 #405FC0 #A140C0
monochromatic
#536421 #799230 #9FC040 #B6CF6E #CDDE9C

Accessibility & contrast

On white

2.08
#9FC040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#9FC040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC040
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC040#FFFFFF#000000##000000
##9FC0401.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#C7B44A
Tritanopia (blue-blind)
#A7B7A6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #9fc040;
/* rgb */ color: rgb(159, 192, 64);
/* oklch */ color: oklch(75.9% 0.157 122.6);
Tailwind
colors: {
  custom: {
    50: '#bed37c',
    500: '#9fc040',
    950: '#000000',
  },
}
SCSS
$custom: #9fc040;
$custom-light: #bed37c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc040",
  "rgb": {
    "r": 159,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 75.469,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.75881,
    "c": 0.15695,
    "h": 122.6
  },
  "luminance": 0.4544
}

Semantic roles & 50–950 ramp

primary
#9FC040
secondary
#A091CB
accent
#4EDA72
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9FC040

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

Preview Lab → · Contrast checker → · Palette generator →

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