#42CC7F#42CC7F

#42CC7F is a light, vivid green. Relative luminance 0.459; OKLCH L 75.3% C 0.162 H 154.6°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#42CC7F
RGBrgb(66, 204, 127)
HSLhsl(147, 58%, 53%)
HSVhsv(147, 68%, 80%)
CMYKcmyk(67.6%, 0%, 37.7%, 20%)
CIE-LABlab(73.46, -54.25, 27.87)
CIE-LCHlch(73.46, 60.99, 152.81°)
OKLaboklab(75.26% -0.1466 0.0697)
OKLCHoklch(75.26% 0.162 154.6)
XYZxyz(27.6679, 45.8733, 27.4708)
Luminance0.4588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42CC7F #CC428F
analogous
#4ACC42 #42CC7F #42CCC4
triadic
#42CC7F #7F42CC #CC7F42
tetradic
#42CC7F #424ACC #CC428F #CCC442
square
#42CC7F #424ACC #CC428F #CCC442
split-complementary
#42CC7F #C442CC #CC424A
monochromatic
#1F7445 #2CA461 #42CC7F #72D9A0 #A2E6C0

Accessibility & contrast

On white

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

On black

10.18
#42CC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42CC7F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42CC7F#FFFFFF#000000##000000
##42CC7F1.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42cc7f;
/* rgb */ color: rgb(66, 204, 127);
/* oklch */ color: oklch(75.3% 0.162 154.6);
Tailwind
colors: {
  custom: {
    50: '#87dca4',
    500: '#42cc7f',
    950: '#000000',
  },
}
SCSS
$custom: #42cc7f;
$custom-light: #87dca4;
$custom-dark: #000000;
JSON
{
  "hex": "#42cc7f",
  "rgb": {
    "r": 66,
    "g": 204,
    "b": 127
  },
  "hsl": {
    "h": 146.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75264,
    "c": 0.16236,
    "h": 154.6
  },
  "luminance": 0.45876
}

Semantic roles & 50–950 ramp

primary
#42CC7F
secondary
#D397B8
accent
#479DE1
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0D150F
muted
#7D837F

Preview Lab

Preview with #42CC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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