#42C87D#42C87D

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

Color values

HEX#42C87D
RGBrgb(66, 200, 125)
HSLhsl(146, 55%, 52%)
HSVhsv(146, 67%, 78%)
CMYKcmyk(67%, 0%, 37.5%, 21.6%)
CIE-LABlab(72.19, -53.08, 27.22)
CIE-LCHlch(72.19, 59.65, 152.85°)
OKLaboklab(74.21% -0.1435 0.0681)
OKLCHoklch(74.21% 0.159 154.6)
XYZxyz(26.6004, 43.9446, 26.4783)
Luminance0.4395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C87D #C8428D
analogous
#4AC842 #42C87D #42C8C0
triadic
#42C87D #7D42C8 #C87D42
tetradic
#42C87D #424AC8 #C8428D #C8C042
square
#42C87D #424AC8 #C8428D #C8C042
split-complementary
#42C87D #C042C8 #C8424A
monochromatic
#206F43 #2E9F60 #42C87D #71D69E #A1E4BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C87D#FFFFFF#000000##000000
##42C87D1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c87d;
/* rgb */ color: rgb(66, 200, 125);
/* oklch */ color: oklch(74.2% 0.159 154.6);
Tailwind
colors: {
  custom: {
    50: '#86daa3',
    500: '#42c87d',
    950: '#000000',
  },
}
SCSS
$custom: #42c87d;
$custom-light: #86daa3;
$custom-dark: #000000;
JSON
{
  "hex": "#42c87d",
  "rgb": {
    "r": 66,
    "g": 200,
    "b": 125
  },
  "hsl": {
    "h": 146.418,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.74206,
    "c": 0.15888,
    "h": 154.6
  },
  "luminance": 0.43947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C87D

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

Preview Lab → · Contrast checker → · Palette generator →

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