#9FC740#9FC740

#9FC740 is a light, vivid yellow-green. Relative luminance 0.486; OKLCH L 77.5% C 0.166 H 124.5°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#9FC740
RGBrgb(159, 199, 64)
HSLhsl(78, 55%, 52%)
HSVhsv(78, 68%, 78%)
CMYKcmyk(20.1%, 0%, 67.8%, 22%)
CIE-LABlab(75.19, -32.50, 60.42)
CIE-LCHlch(75.19, 68.61, 118.28°)
OKLaboklab(77.51% -0.0938 0.1365)
OKLCHoklch(77.51% 0.166 124.5)
XYZxyz(35.6472, 48.5876, 12.3498)
Luminance0.4859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC740 #6840C7
analogous
#C7AC40 #9FC740 #5CC740
triadic
#9FC740 #409FC7 #C7409F
tetradic
#9FC740 #40C7AC #6840C7 #C7405C
square
#9FC740 #40C7AC #6840C7 #C7405C
split-complementary
#9FC740 #405CC7 #AC40C7
monochromatic
#566D20 #7B9C2E #9FC740 #B7D56F #CFE39F

Accessibility & contrast

On white

1.96
#9FC740 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#9FC740 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC740
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC740#FFFFFF#000000##000000
##9FC7401.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA2C
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#A6BEAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9fc740;
/* rgb */ color: rgb(159, 199, 64);
/* oklch */ color: oklch(77.5% 0.166 124.5);
Tailwind
colors: {
  custom: {
    50: '#bfd87c',
    500: '#9fc740',
    950: '#000000',
  },
}
SCSS
$custom: #9fc740;
$custom-light: #bfd87c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc740",
  "rgb": {
    "r": 159,
    "g": 199,
    "b": 64
  },
  "hsl": {
    "h": 77.778,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.77507,
    "c": 0.16562,
    "h": 124.5
  },
  "luminance": 0.48588
}

Semantic roles & 50–950 ramp

primary
#9FC740
secondary
#A594CF
accent
#4ADE76
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9FC740

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

Preview Lab → · Contrast checker → · Palette generator →

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