#9CC842#9CC842

#9CC842 is a light, vivid yellow-green. Relative luminance 0.488; OKLCH L 77.6% C 0.167 H 125.8°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#9CC842
RGBrgb(156, 200, 66)
HSLhsl(80, 55%, 52%)
HSVhsv(80, 67%, 78%)
CMYKcmyk(22%, 0%, 67%, 21.6%)
CIE-LABlab(75.31, -34.00, 59.70)
CIE-LCHlch(75.31, 68.70, 119.66°)
OKLaboklab(77.55% -0.0975 0.1354)
OKLCHoklch(77.55% 0.167 125.8)
XYZxyz(35.3481, 48.7693, 12.7043)
Luminance0.4877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC842 #6E42C8
analogous
#C8B142 #9CC842 #59C842
triadic
#9CC842 #429CC8 #C8429C
tetradic
#9CC842 #42C8B1 #6E42C8 #C84259
square
#9CC842 #42C8B1 #6E42C8 #C84259
split-complementary
#9CC842 #4259C8 #B142C8
monochromatic
#556F20 #7A9F2E #9CC842 #B5D671 #CEE4A1

Accessibility & contrast

On white

1.95
#9CC842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#9CC842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC842
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC842#FFFFFF#000000##000000
##9CC8421.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2F
Deuteranopia (green-blind)
#CCB94D
Tritanopia (blue-blind)
#A2BFAD
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9cc842;
/* rgb */ color: rgb(156, 200, 66);
/* oklch */ color: oklch(77.6% 0.167 125.8);
Tailwind
colors: {
  custom: {
    50: '#bdd97d',
    500: '#9cc842',
    950: '#000000',
  },
}
SCSS
$custom: #9cc842;
$custom-light: #bdd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc842",
  "rgb": {
    "r": 156,
    "g": 200,
    "b": 66
  },
  "hsl": {
    "h": 79.701,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.77554,
    "c": 0.16683,
    "h": 125.8
  },
  "luminance": 0.4877
}

Semantic roles & 50–950 ramp

primary
#9CC842
secondary
#A996D0
accent
#4ADE7A
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9CC842

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

Preview Lab → · Contrast checker → · Palette generator →

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