#42CC7D#42CC7D

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

Color values

HEX#42CC7D
RGBrgb(66, 204, 125)
HSLhsl(146, 58%, 53%)
HSVhsv(146, 68%, 80%)
CMYKcmyk(67.6%, 0%, 38.7%, 20%)
CIE-LABlab(73.43, -54.62, 28.86)
CIE-LCHlch(73.43, 61.77, 152.14°)
OKLaboklab(75.22% -0.1475 0.072)
OKLCHoklch(75.22% 0.164 154)
XYZxyz(27.5389, 45.8216, 26.7912)
Luminance0.4582 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC7D #CC4291
analogous
#4CCC42 #42CC7D #42CCC2
triadic
#42CC7D #7D42CC #CC7D42
tetradic
#42CC7D #424CCC #CC4291 #CCC242
square
#42CC7D #424CCC #CC4291 #CCC242
split-complementary
#42CC7D #C242CC #CC424C
monochromatic
#1F7444 #2CA460 #42CC7D #72D99E #A2E6BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42CC7D#FFFFFF#000000##000000
##42CC7D1.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)
#CCBC78
Deuteranopia (green-blind)
#BAAF82
Tritanopia (blue-blind)
#00CAB8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #42cc7d;
/* rgb */ color: rgb(66, 204, 125);
/* oklch */ color: oklch(75.2% 0.164 154.0);
Tailwind
colors: {
  custom: {
    50: '#87dca3',
    500: '#42cc7d',
    950: '#000000',
  },
}
SCSS
$custom: #42cc7d;
$custom-light: #87dca3;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc7d",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 145.652,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75225,
    "c": 0.16418,
    "h": 154
  },
  "luminance": 0.45825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42CC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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