#42CC7C#42CC7C

#42CC7C is a light, vivid green. Relative luminance 0.458; OKLCH L 75.2% C 0.165 H 153.7°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#42CC7C
RGBrgb(66, 204, 124)
HSLhsl(145, 58%, 53%)
HSVhsv(145, 68%, 80%)
CMYKcmyk(67.6%, 0%, 39.2%, 20%)
CIE-LABlab(73.41, -54.80, 29.36)
CIE-LCHlch(73.41, 62.17, 151.82°)
OKLaboklab(75.21% -0.148 0.0731)
OKLCHoklch(75.21% 0.165 153.7)
XYZxyz(27.4753, 45.7962, 26.4564)
Luminance0.4580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC7C #CC4292
analogous
#4DCC42 #42CC7C #42CCC1
triadic
#42CC7C #7C42CC #CC7C42
tetradic
#42CC7C #424DCC #CC4292 #CCC142
square
#42CC7C #424DCC #CC4292 #CCC142
split-complementary
#42CC7C #C142CC #CC424D
monochromatic
#1F7443 #2CA45F #42CC7C #72D99D #A2E6BF

Accessibility & contrast

On white

2.07
#42CC7C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#42CC7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC7C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC7C#FFFFFF#000000##000000
##42CC7C1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42cc7c;
/* rgb */ color: rgb(66, 204, 124);
/* oklch */ color: oklch(75.2% 0.165 153.7);
Tailwind
colors: {
  custom: {
    50: '#87dca2',
    500: '#42cc7c',
    950: '#000000',
  },
}
SCSS
$custom: #42cc7c;
$custom-light: #87dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc7c",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 124
  },
  "hsl": {
    "h": 145.217,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75206,
    "c": 0.16509,
    "h": 153.7
  },
  "luminance": 0.45799
}

Semantic roles & 50–950 ramp

primary
#42CC7C
secondary
#D397BA
accent
#47A0E1
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #42CC7C

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

Preview Lab → · Contrast checker → · Palette generator →

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