#9FD240#9FD240

#9FD240 is a light, vivid yellow-green. Relative luminance 0.538; OKLCH L 80.1% C 0.179 H 126.9°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#9FD240
RGBrgb(159, 210, 64)
HSLhsl(81, 62%, 54%)
HSVhsv(81, 70%, 82%)
CMYKcmyk(24.3%, 0%, 69.5%, 17.6%)
CIE-LABlab(78.36, -37.53, 63.65)
CIE-LCHlch(78.36, 73.89, 120.52°)
OKLaboklab(80.07% -0.1076 0.1433)
OKLCHoklch(80.07% 0.179 126.9)
XYZxyz(38.2702, 53.8336, 13.2242)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FD240 #7340D2
analogous
#D2BC40 #9FD240 #56D240
triadic
#9FD240 #409FD2 #D2409F
tetradic
#9FD240 #40D2BC #7340D2 #D24056
square
#9FD240 #40D2BC #7340D2 #D24056
split-complementary
#9FD240 #4056D2 #BC40D2
monochromatic
#5A7B1D #7EAC29 #9FD240 #B8DE72 #D1E9A3

Accessibility & contrast

On white

1.78
#9FD240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#9FD240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FD240
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FD240#FFFFFF#000000##000000
##9FD2401.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC428
Deuteranopia (green-blind)
#D6C14D
Tritanopia (blue-blind)
#A5C8B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #9fd240;
/* rgb */ color: rgb(159, 210, 64);
/* oklch */ color: oklch(80.1% 0.179 126.9);
Tailwind
colors: {
  custom: {
    50: '#bfe07d',
    500: '#9fd240',
    950: '#000000',
  },
}
SCSS
$custom: #9fd240;
$custom-light: #bfe07d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fd240",
  "rgb": {
    "r": 159,
    "g": 210,
    "b": 64
  },
  "hsl": {
    "h": 80.959,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.80074,
    "c": 0.1792,
    "h": 126.9
  },
  "luminance": 0.53834
}

Semantic roles & 50–950 ramp

primary
#9FD240
secondary
#4F3483
accent
#43E57B
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #9FD240

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

Preview Lab → · Contrast checker → · Palette generator →

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