#9CC742#9CC742

#9CC742 is a light, vivid yellow-green. Relative luminance 0.483; OKLCH L 77.3% C 0.166 H 125.5°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#9CC742
RGBrgb(156, 199, 66)
HSLhsl(79, 54%, 52%)
HSVhsv(79, 67%, 78%)
CMYKcmyk(21.6%, 0%, 66.8%, 22%)
CIE-LABlab(75.02, -33.54, 59.40)
CIE-LCHlch(75.02, 68.21, 119.45°)
OKLaboklab(77.32% -0.0963 0.1347)
OKLCHoklch(77.32% 0.166 125.5)
XYZxyz(35.1173, 48.3077, 12.6274)
Luminance0.4831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CC742 #6D42C7
analogous
#C7AF42 #9CC742 #5AC742
triadic
#9CC742 #429CC7 #C7429C
tetradic
#9CC742 #42C7AF #6D42C7 #C7425A
square
#9CC742 #42C7AF #6D42C7 #C7425A
split-complementary
#9CC742 #425AC7 #AF42C7
monochromatic
#556E21 #799D2F #9CC742 #B5D571 #CDE3A0

Accessibility & contrast

On white

1.97
#9CC742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#9CC742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CC742
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CC742#FFFFFF#000000##000000
##9CC7421.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2F
Deuteranopia (green-blind)
#CCB84D
Tritanopia (blue-blind)
#A3BEAC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #9cc742;
/* rgb */ color: rgb(156, 199, 66);
/* oklch */ color: oklch(77.3% 0.166 125.5);
Tailwind
colors: {
  custom: {
    50: '#bcd87d',
    500: '#9cc742',
    950: '#000000',
  },
}
SCSS
$custom: #9cc742;
$custom-light: #bcd87d;
$custom-dark: #000000;
JSON
{
  "hex": "#9cc742",
  "rgb": {
    "r": 156,
    "g": 199,
    "b": 66
  },
  "hsl": {
    "h": 79.398,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77321,
    "c": 0.16558,
    "h": 125.5
  },
  "luminance": 0.48308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9CC742

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

Preview Lab → · Contrast checker → · Palette generator →

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