#42CC72#42CC72

#42CC72 is a light, vivid green. Relative luminance 0.456; OKLCH L 75.0% C 0.174 H 151.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#42CC72
RGBrgb(66, 204, 114)
HSLhsl(141, 58%, 53%)
HSVhsv(141, 68%, 80%)
CMYKcmyk(67.6%, 0%, 44.1%, 20%)
CIE-LABlab(73.26, -56.55, 34.28)
CIE-LCHlch(73.26, 66.13, 148.78°)
OKLaboklab(75.03% -0.1524 0.0844)
OKLCHoklch(75.03% 0.174 151)
XYZxyz(26.8747, 45.5560, 23.2932)
Luminance0.4556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC72 #CC429C
analogous
#57CC42 #42CC72 #42CCB7
triadic
#42CC72 #7242CC #CC7242
tetradic
#42CC72 #4257CC #CC429C #CCB742
square
#42CC72 #4257CC #CC429C #CCB742
split-complementary
#42CC72 #B742CC #CC4257
monochromatic
#1F743D #2CA456 #42CC72 #72D996 #A2E6BA

Accessibility & contrast

On white

2.08
#42CC72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#42CC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC72
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC72#FFFFFF#000000##000000
##42CC721.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB6B
Deuteranopia (green-blind)
#BCAF78
Tritanopia (blue-blind)
#00C9B6
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #42cc72;
/* rgb */ color: rgb(66, 204, 114);
/* oklch */ color: oklch(75.0% 0.174 151.0);
Tailwind
colors: {
  custom: {
    50: '#87dd9b',
    500: '#42cc72',
    950: '#000000',
  },
}
SCSS
$custom: #42cc72;
$custom-light: #87dd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc72",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 114
  },
  "hsl": {
    "h": 140.87,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75026,
    "c": 0.17422,
    "h": 151
  },
  "luminance": 0.45559
}

Semantic roles & 50–950 ramp

primary
#42CC72
secondary
#D397BE
accent
#47ABE1
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0D150E
muted
#7D837E

Preview Lab

Preview with #42CC72

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

Preview Lab → · Contrast checker → · Palette generator →

#42CC72 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva