#9CC542#9CC542

#9CC542 is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 76.9% C 0.163 H 125.1°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#9CC542
RGBrgb(156, 197, 66)
HSLhsl(79, 53%, 52%)
HSVhsv(79, 66%, 77%)
CMYKcmyk(20.8%, 0%, 66.5%, 22.7%)
CIE-LABlab(74.44, -32.61, 58.79)
CIE-LCHlch(74.44, 67.23, 119.02°)
OKLaboklab(76.85% -0.0937 0.1335)
OKLCHoklch(76.85% 0.163 125.1)
XYZxyz(34.6601, 47.3934, 12.4750)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC542 #6B42C5
analogous
#C5AD42 #9CC542 #5BC542
triadic
#9CC542 #429CC5 #C5429C
tetradic
#9CC542 #42C5AD #6B42C5 #C5425B
square
#9CC542 #42C5AD #6B42C5 #C5425B
split-complementary
#9CC542 #425BC5 #AD42C5
monochromatic
#546C21 #799A2F #9CC542 #B5D371 #CDE2A0

Accessibility & contrast

On white

2.00
#9CC542 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#9CC542 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC542
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC542#FFFFFF#000000##000000
##9CC5421.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB930
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#A3BCAA
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #9cc542;
/* rgb */ color: rgb(156, 197, 66);
/* oklch */ color: oklch(76.9% 0.163 125.1);
Tailwind
colors: {
  custom: {
    50: '#bcd67d',
    500: '#9cc542',
    950: '#000000',
  },
}
SCSS
$custom: #9cc542;
$custom-light: #bcd67d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc542",
  "rgb": {
    "r": 156,
    "g": 197,
    "b": 66
  },
  "hsl": {
    "h": 78.779,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.76853,
    "c": 0.16307,
    "h": 125.1
  },
  "luminance": 0.47394
}

Semantic roles & 50–950 ramp

primary
#9CC542
secondary
#A795CE
accent
#4BDC79
background
#FBFDF7
surface
#F7FAEE
border
#D0D3C9
text
#12140A
muted
#81837C

Preview Lab

Preview with #9CC542

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

Preview Lab → · Contrast checker → · Palette generator →

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