#42D980#42D980

#42D980 is a light, vivid green. Relative luminance 0.523; OKLCH L 78.6% C 0.178 H 153.0°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#42D980
RGBrgb(66, 217, 128)
HSLhsl(145, 67%, 55%)
HSVhsv(145, 70%, 85%)
CMYKcmyk(69.6%, 0%, 41%, 14.9%)
CIE-LABlab(77.48, -58.94, 32.66)
CIE-LCHlch(77.48, 67.39, 151.01°)
OKLaboklab(78.58% -0.1589 0.081)
OKLCHoklch(78.58% 0.178 153)
XYZxyz(30.9532, 52.3390, 28.8890)
Luminance0.5234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D980 #D9429B
analogous
#4FD942 #42D980 #42D9CC
triadic
#42D980 #8042D9 #D98042
tetradic
#42D980 #424FD9 #D9429B #D9CC42
square
#42D980 #424FD9 #D9429B #D9CC42
split-complementary
#42D980 #CC42D9 #D9424F
monochromatic
#1B8647 #25B962 #42D980 #75E3A2 #A8EDC4

Accessibility & contrast

On white

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

On black

11.47
#42D980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D980
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D980#FFFFFF#000000##000000
##42D9801.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C77A
Deuteranopia (green-blind)
#C7BA86
Tritanopia (blue-blind)
#00D6C3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #42d980;
/* rgb */ color: rgb(66, 217, 128);
/* oklch */ color: oklch(78.6% 0.178 153.0);
Tailwind
colors: {
  custom: {
    50: '#89e6a6',
    500: '#42d980',
    950: '#000000',
  },
}
SCSS
$custom: #42d980;
$custom-light: #89e6a6;
$custom-dark: #000000;
JSON
{
  "hex": "#42d980",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 128
  },
  "hsl": {
    "h": 144.636,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78581,
    "c": 0.1784,
    "h": 153
  },
  "luminance": 0.52342
}

Semantic roles & 50–950 ramp

primary
#42D980
secondary
#8C3368
accent
#3EA3E9
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D980

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

Preview Lab → · Contrast checker → · Palette generator →

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