#42C77E#42C77E

#42C77E is a light, vivid green. Relative luminance 0.435; OKLCH L 74.0% C 0.157 H 155.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#42C77E
RGBrgb(66, 199, 126)
HSLhsl(147, 54%, 52%)
HSVhsv(147, 67%, 78%)
CMYKcmyk(66.8%, 0%, 36.7%, 22%)
CIE-LABlab(71.90, -52.50, 26.30)
CIE-LCHlch(71.90, 58.73, 153.39°)
OKLaboklab(73.97% -0.1421 0.0659)
OKLCHoklch(73.97% 0.157 155.1)
XYZxyz(26.4337, 43.5086, 26.7395)
Luminance0.4351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C77E #C7428B
analogous
#48C742 #42C77E #42C7C1
triadic
#42C77E #7E42C7 #C77E42
tetradic
#42C77E #4248C7 #C7428B #C7C142
square
#42C77E #4248C7 #C7428B #C7C142
split-complementary
#42C77E #C142C7 #C74248
monochromatic
#216E44 #2F9D60 #42C77E #71D59E #A0E3BE

Accessibility & contrast

On white

2.16
#42C77E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#42C77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C77E
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C77E#FFFFFF#000000##000000
##42C77E1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B779
Deuteranopia (green-blind)
#B5AB83
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c77e;
/* rgb */ color: rgb(66, 199, 126);
/* oklch */ color: oklch(74.0% 0.157 155.1);
Tailwind
colors: {
  custom: {
    50: '#86d9a4',
    500: '#42c77e',
    950: '#000000',
  },
}
SCSS
$custom: #42c77e;
$custom-light: #86d9a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42c77e",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 126
  },
  "hsl": {
    "h": 147.068,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73971,
    "c": 0.15663,
    "h": 155.1
  },
  "luminance": 0.43511
}

Semantic roles & 50–950 ramp

primary
#42C77E
secondary
#D095B5
accent
#4A9BDE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C77E

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

Preview Lab → · Contrast checker → · Palette generator →

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