#9FC840#9FC840

#9FC840 is a light, vivid yellow-green. Relative luminance 0.490; OKLCH L 77.7% C 0.167 H 124.7°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#9FC840
RGBrgb(159, 200, 64)
HSLhsl(78, 55%, 52%)
HSVhsv(78, 68%, 78%)
CMYKcmyk(20.5%, 0%, 68%, 21.6%)
CIE-LABlab(75.48, -32.96, 60.71)
CIE-LCHlch(75.48, 69.09, 118.50°)
OKLaboklab(77.74% -0.095 0.1371)
OKLCHoklch(77.74% 0.167 124.7)
XYZxyz(35.8780, 49.0493, 12.4268)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC840 #6940C8
analogous
#C8AD40 #9FC840 #5BC840
triadic
#9FC840 #409FC8 #C8409F
tetradic
#9FC840 #40C8AD #6940C8 #C8405B
square
#9FC840 #40C8AD #6940C8 #C8405B
split-complementary
#9FC840 #405BC8 #AD40C8
monochromatic
#566E20 #7C9D2D #9FC840 #B7D670 #CFE39F

Accessibility & contrast

On white

1.94
#9FC840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.81
#9FC840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC840
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC840#FFFFFF#000000##000000
##9FC8401.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2C
Deuteranopia (green-blind)
#CDB94B
Tritanopia (blue-blind)
#A6BFAD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #9fc840;
/* rgb */ color: rgb(159, 200, 64);
/* oklch */ color: oklch(77.7% 0.167 124.7);
Tailwind
colors: {
  custom: {
    50: '#bfd87c',
    500: '#9fc840',
    950: '#000000',
  },
}
SCSS
$custom: #9fc840;
$custom-light: #bfd87c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc840",
  "rgb": {
    "r": 159,
    "g": 200,
    "b": 64
  },
  "hsl": {
    "h": 78.088,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7774,
    "c": 0.16685,
    "h": 124.7
  },
  "luminance": 0.4905
}

Semantic roles & 50–950 ramp

primary
#9FC840
secondary
#A694D0
accent
#49DF76
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9FC840

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

Preview Lab → · Contrast checker → · Palette generator →

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