#42D786#42D786

#42D786 is a light, vivid green. Relative luminance 0.515; OKLCH L 78.2% C 0.170 H 154.9°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#42D786
RGBrgb(66, 215, 134)
HSLhsl(147, 65%, 55%)
HSVhsv(147, 69%, 84%)
CMYKcmyk(69.3%, 0%, 37.7%, 15.7%)
CIE-LABlab(76.97, -57.11, 28.91)
CIE-LCHlch(76.97, 64.01, 153.15°)
OKLaboklab(78.19% -0.1543 0.0723)
OKLCHoklch(78.19% 0.17 154.9)
XYZxyz(30.8475, 51.4769, 30.8600)
Luminance0.5148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D786 #D74293
analogous
#48D742 #42D786 #42D7D1
triadic
#42D786 #8642D7 #D78642
tetradic
#42D786 #4248D7 #D74293 #D7D142
square
#42D786 #4248D7 #D74293 #D7D142
split-complementary
#42D786 #D142D7 #D74248
monochromatic
#1C834B #26B568 #42D786 #75E2A6 #A7ECC7

Accessibility & contrast

On white

1.86
#42D786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#42D786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D786
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D786#FFFFFF#000000##000000
##42D7861.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C681
Deuteranopia (green-blind)
#C4B98B
Tritanopia (blue-blind)
#00D5C2
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #42d786;
/* rgb */ color: rgb(66, 215, 134);
/* oklch */ color: oklch(78.2% 0.170 154.9);
Tailwind
colors: {
  custom: {
    50: '#89e4aa',
    500: '#42d786',
    950: '#000000',
  },
}
SCSS
$custom: #42d786;
$custom-light: #89e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d786",
  "rgb": {
    "r": 66,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 147.383,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.78187,
    "c": 0.17042,
    "h": 154.9
  },
  "luminance": 0.5148
}

Semantic roles & 50–950 ramp

primary
#42D786
secondary
#8A3462
accent
#409BE8
background
#FCFEFD
surface
#F4FCF7
border
#CED5D0
text
#0D1610
muted
#7F8481

Preview Lab

Preview with #42D786

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

Preview Lab → · Contrast checker → · Palette generator →

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