#42C77C#42C77C

#42C77C is a light, vivid green. Relative luminance 0.435; OKLCH L 73.9% C 0.158 H 154.5°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#42C77C
RGBrgb(66, 199, 124)
HSLhsl(146, 54%, 52%)
HSVhsv(146, 67%, 78%)
CMYKcmyk(66.8%, 0%, 37.7%, 22%)
CIE-LABlab(71.86, -52.88, 27.30)
CIE-LCHlch(71.86, 59.52, 152.69°)
OKLaboklab(73.93% -0.143 0.0683)
OKLCHoklch(73.93% 0.158 154.5)
XYZxyz(26.3060, 43.4575, 26.0667)
Luminance0.4346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C77C #C7428D
analogous
#4BC742 #42C77C #42C7BE
triadic
#42C77C #7C42C7 #C77C42
tetradic
#42C77C #424BC7 #C7428D #C7BE42
square
#42C77C #424BC7 #C7428D #C7BE42
split-complementary
#42C77C #BE42C7 #C7424B
monochromatic
#216E42 #2F9D5F #42C77C #71D59D #A0E3BD

Accessibility & contrast

On white

2.17
#42C77C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#42C77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C77C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C77C#FFFFFF#000000##000000
##42C77C1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c77c;
/* rgb */ color: rgb(66, 199, 124);
/* oklch */ color: oklch(73.9% 0.158 154.5);
Tailwind
colors: {
  custom: {
    50: '#86d9a2',
    500: '#42c77c',
    950: '#000000',
  },
}
SCSS
$custom: #42c77c;
$custom-light: #86d9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#42c77c",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 124
  },
  "hsl": {
    "h": 146.165,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73931,
    "c": 0.15846,
    "h": 154.5
  },
  "luminance": 0.4346
}

Semantic roles & 50–950 ramp

primary
#42C77C
secondary
#D095B6
accent
#4A9DDE
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C77C

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

Preview Lab → · Contrast checker → · Palette generator →

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