#42DF78#42DF78

#42DF78 is a light, vivid green. Relative luminance 0.553; OKLCH L 80.0% C 0.193 H 150.5°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#42DF78
RGBrgb(66, 223, 120)
HSLhsl(141, 71%, 57%)
HSVhsv(141, 70%, 87%)
CMYKcmyk(70.4%, 0%, 46.2%, 12.5%)
CIE-LABlab(79.21, -62.45, 38.89)
CIE-LCHlch(79.21, 73.57, 148.09°)
OKLaboklab(79.96% -0.1681 0.0952)
OKLCHoklch(79.96% 0.193 150.5)
XYZxyz(32.0220, 55.2861, 26.7493)
Luminance0.5529 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42DF78 #DF42A9
analogous
#5BDF42 #42DF78 #42DFC7
triadic
#42DF78 #7842DF #DF7842
tetradic
#42DF78 #425BDF #DF42A9 #DFC742
square
#42DF78 #425BDF #DF42A9 #DFC742
split-complementary
#42DF78 #C742DF #DF425B
monochromatic
#188E41 #21C359 #42DF78 #76E89D #ABF1C3

Accessibility & contrast

On white

1.74
#42DF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#42DF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42DF78
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42DF78#FFFFFF#000000##000000
##42DF781.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CC70
Deuteranopia (green-blind)
#CDBF7F
Tritanopia (blue-blind)
#00DBC6
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #42df78;
/* rgb */ color: rgb(66, 223, 120);
/* oklch */ color: oklch(80.0% 0.193 150.5);
Tailwind
colors: {
  custom: {
    50: '#8aeaa0',
    500: '#42df78',
    950: '#000000',
  },
}
SCSS
$custom: #42df78;
$custom-light: #8aeaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#42df78",
  "rgb": {
    "r": 66,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 140.637,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.79964,
    "c": 0.19319,
    "h": 150.5
  },
  "luminance": 0.5529
}

Semantic roles & 50–950 ramp

primary
#42DF78
secondary
#943272
accent
#3AB0EE
background
#FCFFFC
surface
#F4FEF5
border
#CED6CF
text
#0D160F
muted
#7F8580

Preview Lab

Preview with #42DF78

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

Preview Lab → · Contrast checker → · Palette generator →

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