#42CC7E#42CC7E

#42CC7E is a light, vivid green. Relative luminance 0.459; OKLCH L 75.2% C 0.163 H 154.3°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#42CC7E
RGBrgb(66, 204, 126)
HSLhsl(146, 58%, 53%)
HSVhsv(146, 68%, 80%)
CMYKcmyk(67.6%, 0%, 38.2%, 20%)
CIE-LABlab(73.45, -54.43, 28.37)
CIE-LCHlch(73.45, 61.38, 152.47°)
OKLaboklab(75.24% -0.1471 0.0708)
OKLCHoklch(75.24% 0.163 154.3)
XYZxyz(27.6031, 45.8473, 27.1293)
Luminance0.4585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC7E #CC4290
analogous
#4BCC42 #42CC7E #42CCC3
triadic
#42CC7E #7E42CC #CC7E42
tetradic
#42CC7E #424BCC #CC4290 #CCC342
square
#42CC7E #424BCC #CC4290 #CCC342
split-complementary
#42CC7E #C342CC #CC424B
monochromatic
#1F7444 #2CA461 #42CC7E #72D99F #A2E6C0

Accessibility & contrast

On white

2.06
#42CC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#42CC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC7E
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC7E#FFFFFF#000000##000000
##42CC7E1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBC79
Deuteranopia (green-blind)
#BAAF83
Tritanopia (blue-blind)
#00CAB8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #42cc7e;
/* rgb */ color: rgb(66, 204, 126);
/* oklch */ color: oklch(75.2% 0.163 154.3);
Tailwind
colors: {
  custom: {
    50: '#87dca4',
    500: '#42cc7e',
    950: '#000000',
  },
}
SCSS
$custom: #42cc7e;
$custom-light: #87dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc7e",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 146.087,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75244,
    "c": 0.16326,
    "h": 154.3
  },
  "luminance": 0.4585
}

Semantic roles & 50–950 ramp

primary
#42CC7E
secondary
#D397B9
accent
#479EE1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #42CC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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