#9FD840#9FD840

#9FD840 is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.5% C 0.187 H 128.0°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#9FD840
RGBrgb(159, 216, 64)
HSLhsl(83, 66%, 55%)
HSVhsv(83, 70%, 85%)
CMYKcmyk(26.4%, 0%, 70.4%, 15.3%)
CIE-LABlab(80.10, -40.20, 65.40)
CIE-LCHlch(80.10, 76.77, 121.58°)
OKLaboklab(81.48% -0.1149 0.147)
OKLCHoklch(81.48% 0.187 128)
XYZxyz(39.7793, 56.8519, 13.7272)
Luminance0.5685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FD840 #7940D8
analogous
#D8C540 #9FD840 #53D840
triadic
#9FD840 #409FD8 #D8409F
tetradic
#9FD840 #40D8C5 #7940D8 #D84053
square
#9FD840 #40D8C5 #7940D8 #D84053
split-complementary
#9FD840 #4053D8 #C540D8
monochromatic
#5C831B #7FB625 #9FD840 #B9E273 #D2EDA6

Accessibility & contrast

On white

1.70
#9FD840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#9FD840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FD840
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FD840#FFFFFF#000000##000000
##9FD8401.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C926
Deuteranopia (green-blind)
#DBC54D
Tritanopia (blue-blind)
#A4CEBA
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #9fd840;
/* rgb */ color: rgb(159, 216, 64);
/* oklch */ color: oklch(81.5% 0.187 128.0);
Tailwind
colors: {
  custom: {
    50: '#bfe47e',
    500: '#9fd840',
    950: '#000000',
  },
}
SCSS
$custom: #9fd840;
$custom-light: #bfe47e;
$custom-dark: #000000;
JSON
{
  "hex": "#9fd840",
  "rgb": {
    "r": 159,
    "g": 216,
    "b": 64
  },
  "hsl": {
    "h": 82.5,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81479,
    "c": 0.18655,
    "h": 128
  },
  "luminance": 0.56853
}

Semantic roles & 50–950 ramp

primary
#9FD840
secondary
#53338A
accent
#3FE97F
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FD840

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

Preview Lab → · Contrast checker → · Palette generator →

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