#42C87C#42C87C

#42C87C is a light, vivid green. Relative luminance 0.439; OKLCH L 74.2% C 0.160 H 154.3°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#42C87C
RGBrgb(66, 200, 124)
HSLhsl(146, 55%, 52%)
HSVhsv(146, 67%, 78%)
CMYKcmyk(67%, 0%, 38%, 21.6%)
CIE-LABlab(72.17, -53.27, 27.72)
CIE-LCHlch(72.17, 60.05, 152.51°)
OKLaboklab(74.19% -0.144 0.0693)
OKLCHoklch(74.19% 0.16 154.3)
XYZxyz(26.5368, 43.9192, 26.1436)
Luminance0.4392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C87C #C8428E
analogous
#4BC842 #42C87C #42C8BF
triadic
#42C87C #7C42C8 #C87C42
tetradic
#42C87C #424BC8 #C8428E #C8BF42
square
#42C87C #424BC8 #C8428E #C8BF42
split-complementary
#42C87C #BF42C8 #C8424B
monochromatic
#206F43 #2E9F5F #42C87C #71D69D #A1E4BE

Accessibility & contrast

On white

2.15
#42C87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#42C87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C87C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C87C#FFFFFF#000000##000000
##42C87C1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B877
Deuteranopia (green-blind)
#B7AC81
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c87c;
/* rgb */ color: rgb(66, 200, 124);
/* oklch */ color: oklch(74.2% 0.160 154.3);
Tailwind
colors: {
  custom: {
    50: '#86daa2',
    500: '#42c87c',
    950: '#000000',
  },
}
SCSS
$custom: #42c87c;
$custom-light: #86daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#42c87c",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 124
  },
  "hsl": {
    "h": 145.97,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74186,
    "c": 0.1598,
    "h": 154.3
  },
  "luminance": 0.43922
}

Semantic roles & 50–950 ramp

primary
#42C87C
secondary
#D096B7
accent
#4A9EDE
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C87C

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

Preview Lab → · Contrast checker → · Palette generator →

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