#42C87E#42C87E

#42C87E is a light, vivid green. Relative luminance 0.440; OKLCH L 74.2% C 0.158 H 154.9°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#42C87E
RGBrgb(66, 200, 126)
HSLhsl(147, 55%, 52%)
HSVhsv(147, 67%, 78%)
CMYKcmyk(67%, 0%, 37%, 21.6%)
CIE-LABlab(72.21, -52.89, 26.72)
CIE-LCHlch(72.21, 59.26, 153.20°)
OKLaboklab(74.23% -0.1431 0.0669)
OKLCHoklch(74.23% 0.158 154.9)
XYZxyz(26.6646, 43.9703, 26.8165)
Luminance0.4397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C87E #C8428C
analogous
#49C842 #42C87E #42C8C1
triadic
#42C87E #7E42C8 #C87E42
tetradic
#42C87E #4249C8 #C8428C #C8C142
square
#42C87E #4249C8 #C8428C #C8C142
split-complementary
#42C87E #C142C8 #C84249
monochromatic
#206F44 #2E9F61 #42C87E #71D69E #A1E4BF

Accessibility & contrast

On white

2.14
#42C87E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#42C87E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C87E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C87E#FFFFFF#000000##000000
##42C87E1.002.149.799.79
#FFFFFF2.141.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c87e;
/* rgb */ color: rgb(66, 200, 126);
/* oklch */ color: oklch(74.2% 0.158 154.9);
Tailwind
colors: {
  custom: {
    50: '#86daa4',
    500: '#42c87e',
    950: '#000000',
  },
}
SCSS
$custom: #42c87e;
$custom-light: #86daa4;
$custom-dark: #000000;
JSON
{
  "hex": "#42c87e",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 126
  },
  "hsl": {
    "h": 146.866,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74226,
    "c": 0.15797,
    "h": 154.9
  },
  "luminance": 0.43973
}

Semantic roles & 50–950 ramp

primary
#42C87E
secondary
#D096B6
accent
#4A9CDE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C87E

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

Preview Lab → · Contrast checker → · Palette generator →

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