#9CC242#9CC242

#9CC242 is a light, vivid yellow-green. Relative luminance 0.460; OKLCH L 76.2% C 0.159 H 124.3°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#9CC242
RGBrgb(156, 194, 66)
HSLhsl(78, 51%, 51%)
HSVhsv(78, 66%, 76%)
CMYKcmyk(19.6%, 0%, 66%, 23.9%)
CIE-LABlab(73.57, -31.21, 57.89)
CIE-LCHlch(73.57, 65.76, 118.33°)
OKLaboklab(76.15% -0.0898 0.1315)
OKLCHoklch(76.15% 0.159 124.3)
XYZxyz(33.9857, 46.0445, 12.2502)
Luminance0.4605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC242 #6842C2
analogous
#C2A842 #9CC242 #5CC242
triadic
#9CC242 #429CC2 #C2429C
tetradic
#9CC242 #42C2A8 #6842C2 #C2425C
square
#9CC242 #42C2A8 #6842C2 #C2425C
split-complementary
#9CC242 #425CC2 #A842C2
monochromatic
#536822 #789631 #9CC242 #B4D170 #CCE09F

Accessibility & contrast

On white

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

On black

10.21
#9CC242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC242
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC242#FFFFFF#000000##000000
##9CC2421.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9cc242;
/* rgb */ color: rgb(156, 194, 66);
/* oklch */ color: oklch(76.2% 0.159 124.3);
Tailwind
colors: {
  custom: {
    50: '#bcd47d',
    500: '#9cc242',
    950: '#000000',
  },
}
SCSS
$custom: #9cc242;
$custom-light: #bcd47d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc242",
  "rgb": {
    "r": 156,
    "g": 194,
    "b": 66
  },
  "hsl": {
    "h": 77.813,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76153,
    "c": 0.1593,
    "h": 124.3
  },
  "luminance": 0.46045
}

Semantic roles & 50–950 ramp

primary
#9CC242
secondary
#A494CC
accent
#4DDB77
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9CC242

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

Preview Lab → · Contrast checker → · Palette generator →

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