#42DA7F#42DA7F

#42DA7F is a light, vivid green. Relative luminance 0.528; OKLCH L 78.8% C 0.181 H 152.6°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#42DA7F
RGBrgb(66, 218, 127)
HSLhsl(144, 67%, 56%)
HSVhsv(144, 70%, 85%)
CMYKcmyk(69.7%, 0%, 41.7%, 14.5%)
CIE-LABlab(77.77, -59.49, 33.55)
CIE-LCHlch(77.77, 68.30, 150.58°)
OKLaboklab(78.82% -0.1603 0.0831)
OKLCHoklch(78.82% 0.181 152.6)
XYZxyz(31.1462, 52.8299, 28.6303)
Luminance0.5283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42DA7F #DA429D
analogous
#51DA42 #42DA7F #42DACB
triadic
#42DA7F #7F42DA #DA7F42
tetradic
#42DA7F #4251DA #DA429D #DACB42
square
#42DA7F #4251DA #DA429D #DACB42
split-complementary
#42DA7F #CB42DA #DA4251
monochromatic
#1A8746 #24BA61 #42DA7F #75E4A2 #A8EEC4

Accessibility & contrast

On white

1.82
#42DA7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#42DA7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42DA7F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42DA7F#FFFFFF#000000##000000
##42DA7F1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42da7f;
/* rgb */ color: rgb(66, 218, 127);
/* oklch */ color: oklch(78.8% 0.181 152.6);
Tailwind
colors: {
  custom: {
    50: '#89e7a5',
    500: '#42da7f',
    950: '#000000',
  },
}
SCSS
$custom: #42da7f;
$custom-light: #89e7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#42da7f",
  "rgb": {
    "r": 66,
    "g": 218,
    "b": 127
  },
  "hsl": {
    "h": 144.079,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.78816,
    "c": 0.18059,
    "h": 152.6
  },
  "luminance": 0.52833
}

Semantic roles & 50–950 ramp

primary
#42DA7F
secondary
#8D3369
accent
#3EA5EA
background
#FCFEFC
surface
#F4FDF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42DA7F

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

Preview Lab → · Contrast checker → · Palette generator →

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