#9FC940#9FC940

#9FC940 is a light, vivid yellow-green. Relative luminance 0.495; OKLCH L 78.0% C 0.168 H 125.0°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#9FC940
RGBrgb(159, 201, 64)
HSLhsl(78, 56%, 52%)
HSVhsv(78, 68%, 79%)
CMYKcmyk(20.9%, 0%, 68.2%, 21.2%)
CIE-LABlab(75.77, -33.43, 61.01)
CIE-LCHlch(75.77, 69.57, 118.72°)
OKLaboklab(77.97% -0.0963 0.1378)
OKLCHoklch(77.97% 0.168 125)
XYZxyz(36.1104, 49.5140, 12.5042)
Luminance0.4951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC940 #6A40C9
analogous
#C9AE40 #9FC940 #5BC940
triadic
#9FC940 #409FC9 #C9409F
tetradic
#9FC940 #40C9AE #6A40C9 #C9405B
square
#9FC940 #40C9AE #6A40C9 #C9405B
split-complementary
#9FC940 #405BC9 #AE40C9
monochromatic
#576F1F #7C9F2D #9FC940 #B7D670 #CFE49F

Accessibility & contrast

On white

1.93
#9FC940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#9FC940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC940
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC940#FFFFFF#000000##000000
##9FC9401.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2B
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#A6BFAE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9fc940;
/* rgb */ color: rgb(159, 201, 64);
/* oklch */ color: oklch(78.0% 0.168 125.0);
Tailwind
colors: {
  custom: {
    50: '#bfd97c',
    500: '#9fc940',
    950: '#000000',
  },
}
SCSS
$custom: #9fc940;
$custom-light: #bfd97c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc940",
  "rgb": {
    "r": 159,
    "g": 201,
    "b": 64
  },
  "hsl": {
    "h": 78.394,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.16809,
    "h": 125
  },
  "luminance": 0.49514
}

Semantic roles & 50–950 ramp

primary
#9FC940
secondary
#A794D0
accent
#49DF77
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9FC940

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

Preview Lab → · Contrast checker → · Palette generator →

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