#9CC240#9CC240

#9CC240 is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.1% C 0.161 H 124.2°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#9CC240
RGBrgb(156, 194, 64)
HSLhsl(78, 52%, 51%)
HSVhsv(78, 67%, 76%)
CMYKcmyk(19.6%, 0%, 67%, 23.9%)
CIE-LABlab(73.56, -31.35, 58.67)
CIE-LCHlch(73.56, 66.52, 118.12°)
OKLaboklab(76.14% -0.0904 0.1329)
OKLCHoklch(76.14% 0.161 124.2)
XYZxyz(33.9278, 46.0214, 11.9451)
Luminance0.4602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC240 #6640C2
analogous
#C2A740 #9CC240 #5BC240
triadic
#9CC240 #409CC2 #C2409C
tetradic
#9CC240 #40C2A7 #6640C2 #C2405B
square
#9CC240 #40C2A7 #6640C2 #C2405B
split-complementary
#9CC240 #405BC2 #A740C2
monochromatic
#526721 #779530 #9CC240 #B4D16E #CCE09D

Accessibility & contrast

On white

2.06
#9CC240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#9CC240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC240
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC240#FFFFFF#000000##000000
##9CC2401.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cc240;
/* rgb */ color: rgb(156, 194, 64);
/* oklch */ color: oklch(76.1% 0.161 124.2);
Tailwind
colors: {
  custom: {
    50: '#bcd47c',
    500: '#9cc240',
    950: '#000000',
  },
}
SCSS
$custom: #9cc240;
$custom-light: #bcd47c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc240",
  "rgb": {
    "r": 156,
    "g": 194,
    "b": 64
  },
  "hsl": {
    "h": 77.538,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76136,
    "c": 0.16074,
    "h": 124.2
  },
  "luminance": 0.46022
}

Semantic roles & 50–950 ramp

primary
#9CC240
secondary
#A392CC
accent
#4DDB76
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9CC240

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

Preview Lab → · Contrast checker → · Palette generator →

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