#9FC240#9FC240

#9FC240 is a light, vivid yellow-green. Relative luminance 0.463; OKLCH L 76.3% C 0.159 H 123.2°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#9FC240
RGBrgb(159, 194, 64)
HSLhsl(76, 52%, 51%)
HSVhsv(76, 67%, 76%)
CMYKcmyk(18%, 0%, 67%, 23.9%)
CIE-LABlab(73.76, -30.16, 58.93)
CIE-LCHlch(73.76, 66.20, 117.10°)
OKLaboklab(76.35% -0.0873 0.1334)
OKLCHoklch(76.35% 0.159 123.2)
XYZxyz(34.5156, 46.3245, 11.9726)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC240 #6340C2
analogous
#C2A440 #9FC240 #5EC240
triadic
#9FC240 #409FC2 #C2409F
tetradic
#9FC240 #40C2A4 #6340C2 #C2405E
square
#9FC240 #40C2A4 #6340C2 #C2405E
split-complementary
#9FC240 #405EC2 #A440C2
monochromatic
#546721 #7A9530 #9FC240 #B6D16E #CEE09D

Accessibility & contrast

On white

2.05
#9FC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#9FC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC240
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC240#FFFFFF#000000##000000
##9FC2401.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62D
Deuteranopia (green-blind)
#C8B54A
Tritanopia (blue-blind)
#A7B9A8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9fc240;
/* rgb */ color: rgb(159, 194, 64);
/* oklch */ color: oklch(76.3% 0.159 123.2);
Tailwind
colors: {
  custom: {
    50: '#bed47c',
    500: '#9fc240',
    950: '#000000',
  },
}
SCSS
$custom: #9fc240;
$custom-light: #bed47c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc240",
  "rgb": {
    "r": 159,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 76.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76345,
    "c": 0.15942,
    "h": 123.2
  },
  "luminance": 0.46325
}

Semantic roles & 50–950 ramp

primary
#9FC240
secondary
#A292CC
accent
#4DDB73
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9FC240

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

Preview Lab → · Contrast checker → · Palette generator →

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