#9CD842#9CD842

#9CD842 is a light, vivid yellow-green. Relative luminance 0.566; OKLCH L 81.3% C 0.187 H 128.9°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#9CD842
RGBrgb(156, 216, 66)
HSLhsl(84, 66%, 55%)
HSVhsv(84, 69%, 85%)
CMYKcmyk(27.8%, 0%, 69.4%, 15.3%)
CIE-LABlab(79.94, -41.19, 64.45)
CIE-LCHlch(79.94, 76.49, 122.58°)
OKLaboklab(81.31% -0.1173 0.1453)
OKLCHoklch(81.31% 0.187 128.9)
XYZxyz(39.2494, 56.5720, 14.0048)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CD842 #7E42D8
analogous
#D8C942 #9CD842 #51D842
triadic
#9CD842 #429CD8 #D8429C
tetradic
#9CD842 #42D8C9 #7E42D8 #D84251
square
#9CD842 #42D8C9 #7E42D8 #D84251
split-complementary
#9CD842 #4251D8 #C942D8
monochromatic
#5A841B #7DB726 #9CD842 #B7E275 #D1EDA7

Accessibility & contrast

On white

1.71
#9CD842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#9CD842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CD842
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CD842#FFFFFF#000000##000000
##9CD8421.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92A
Deuteranopia (green-blind)
#DAC54F
Tritanopia (blue-blind)
#A1CFBA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #9cd842;
/* rgb */ color: rgb(156, 216, 66);
/* oklch */ color: oklch(81.3% 0.187 128.9);
Tailwind
colors: {
  custom: {
    50: '#bde47f',
    500: '#9cd842',
    950: '#000000',
  },
}
SCSS
$custom: #9cd842;
$custom-light: #bde47f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cd842",
  "rgb": {
    "r": 156,
    "g": 216,
    "b": 66
  },
  "hsl": {
    "h": 84,
    "s": 65.789,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8131,
    "c": 0.18674,
    "h": 128.9
  },
  "luminance": 0.56573
}

Semantic roles & 50–950 ramp

primary
#9CD842
secondary
#56338B
accent
#3FE983
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9CD842

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

Preview Lab → · Contrast checker → · Palette generator →

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