#9FC340#9FC340

#9FC340 is a light, vivid yellow-green. Relative luminance 0.468; OKLCH L 76.6% C 0.161 H 123.5°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#9FC340
RGBrgb(159, 195, 64)
HSLhsl(76, 52%, 51%)
HSVhsv(76, 67%, 76%)
CMYKcmyk(18.5%, 0%, 67.2%, 23.5%)
CIE-LABlab(74.04, -30.63, 59.23)
CIE-LCHlch(74.04, 66.68, 117.34°)
OKLaboklab(76.58% -0.0886 0.134)
OKLCHoklch(76.58% 0.161 123.5)
XYZxyz(34.7389, 46.7711, 12.0471)
Luminance0.4677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC340 #6440C3
analogous
#C3A640 #9FC340 #5DC340
triadic
#9FC340 #409FC3 #C3409F
tetradic
#9FC340 #40C3A6 #6440C3 #C3405D
square
#9FC340 #40C3A6 #6440C3 #C3405D
split-complementary
#9FC340 #405DC3 #A640C3
monochromatic
#546821 #7A972F #9FC340 #B6D26F #CEE09D

Accessibility & contrast

On white

2.03
#9FC340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.35
#9FC340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC340
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC340#FFFFFF#000000##000000
##9FC3401.002.0310.3510.35
#FFFFFF2.031.0021.0021.00
#00000010.3521.001.001.00
##00000010.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72D
Deuteranopia (green-blind)
#C9B64A
Tritanopia (blue-blind)
#A7BAA9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #9fc340;
/* rgb */ color: rgb(159, 195, 64);
/* oklch */ color: oklch(76.6% 0.161 123.5);
Tailwind
colors: {
  custom: {
    50: '#bfd57c',
    500: '#9fc340',
    950: '#000000',
  },
}
SCSS
$custom: #9fc340;
$custom-light: #bfd57c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc340",
  "rgb": {
    "r": 159,
    "g": 195,
    "b": 64
  },
  "hsl": {
    "h": 76.489,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76577,
    "c": 0.16067,
    "h": 123.5
  },
  "luminance": 0.46771
}

Semantic roles & 50–950 ramp

primary
#9FC340
secondary
#A292CC
accent
#4CDC74
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9FC340

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

Preview Lab → · Contrast checker → · Palette generator →

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