#42D986#42D986

#42D986 is a light, vivid green. Relative luminance 0.525; OKLCH L 78.7% C 0.173 H 154.6°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#42D986
RGBrgb(66, 217, 134)
HSLhsl(147, 67%, 55%)
HSVhsv(147, 70%, 85%)
CMYKcmyk(69.6%, 0%, 38.2%, 14.9%)
CIE-LABlab(77.58, -57.86, 29.73)
CIE-LCHlch(77.58, 65.05, 152.81°)
OKLaboklab(78.69% -0.1563 0.0742)
OKLCHoklch(78.69% 0.173 154.6)
XYZxyz(31.3599, 52.5017, 31.0307)
Luminance0.5251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D986 #D94295
analogous
#49D942 #42D986 #42D9D2
triadic
#42D986 #8642D9 #D98642
tetradic
#42D986 #4249D9 #D94295 #D9D242
square
#42D986 #4249D9 #D94295 #D9D242
split-complementary
#42D986 #D242D9 #D94249
monochromatic
#1B864B #25B968 #42D986 #75E3A7 #A8EDC7

Accessibility & contrast

On white

1.83
#42D986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#42D986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D986
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D986#FFFFFF#000000##000000
##42D9861.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C880
Deuteranopia (green-blind)
#C6BA8B
Tritanopia (blue-blind)
#00D7C4
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #42d986;
/* rgb */ color: rgb(66, 217, 134);
/* oklch */ color: oklch(78.7% 0.173 154.6);
Tailwind
colors: {
  custom: {
    50: '#89e6aa',
    500: '#42d986',
    950: '#000000',
  },
}
SCSS
$custom: #42d986;
$custom-light: #89e6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d986",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 134
  },
  "hsl": {
    "h": 147.02,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78692,
    "c": 0.17301,
    "h": 154.6
  },
  "luminance": 0.52505
}

Semantic roles & 50–950 ramp

primary
#42D986
secondary
#8C3364
accent
#3E9CE9
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D986

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

Preview Lab → · Contrast checker → · Palette generator →

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