#9CC042#9CC042

#9CC042 is a light, vivid yellow-green. Relative luminance 0.452; OKLCH L 75.7% C 0.157 H 123.8°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#9CC042
RGBrgb(156, 192, 66)
HSLhsl(77, 50%, 51%)
HSVhsv(77, 66%, 75%)
CMYKcmyk(18.7%, 0%, 65.6%, 24.7%)
CIE-LABlab(73.00, -30.27, 57.28)
CIE-LCHlch(73.00, 64.79, 117.85°)
OKLaboklab(75.69% -0.0872 0.1303)
OKLCHoklch(75.69% 0.157 123.8)
XYZxyz(33.5436, 45.1603, 12.1028)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC042 #6642C0
analogous
#C0A542 #9CC042 #5DC042
triadic
#9CC042 #429CC0 #C0429C
tetradic
#9CC042 #42C0A5 #6642C0 #C0425D
square
#9CC042 #42C0A5 #6642C0 #C0425D
split-complementary
#9CC042 #425DC0 #A542C0
monochromatic
#526622 #779431 #9CC042 #B4CF70 #CCDF9E

Accessibility & contrast

On white

2.09
#9CC042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.03
#9CC042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC042
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC042#FFFFFF#000000##000000
##9CC0421.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB431
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#A3B7A6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #9cc042;
/* rgb */ color: rgb(156, 192, 66);
/* oklch */ color: oklch(75.7% 0.157 123.8);
Tailwind
colors: {
  custom: {
    50: '#bcd37d',
    500: '#9cc042',
    950: '#000000',
  },
}
SCSS
$custom: #9cc042;
$custom-light: #bcd37d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc042",
  "rgb": {
    "r": 156,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 77.143,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.75687,
    "c": 0.15678,
    "h": 123.8
  },
  "luminance": 0.45161
}

Semantic roles & 50–950 ramp

primary
#9CC042
secondary
#A393CB
accent
#4EDA76
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12140A
muted
#81827C

Preview Lab

Preview with #9CC042

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

Preview Lab → · Contrast checker → · Palette generator →

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