#42D982#42D982

#42D982 is a light, vivid green. Relative luminance 0.524; OKLCH L 78.6% C 0.177 H 153.5°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#42D982
RGBrgb(66, 217, 130)
HSLhsl(145, 67%, 55%)
HSVhsv(145, 70%, 85%)
CMYKcmyk(69.6%, 0%, 40.1%, 14.9%)
CIE-LABlab(77.51, -58.59, 31.69)
CIE-LCHlch(77.51, 66.61, 151.59°)
OKLaboklab(78.62% -0.1581 0.0788)
OKLCHoklch(78.62% 0.177 153.5)
XYZxyz(31.0861, 52.3922, 29.5892)
Luminance0.5240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D982 #D94299
analogous
#4ED942 #42D982 #42D9CD
triadic
#42D982 #8242D9 #D98242
tetradic
#42D982 #424ED9 #D94299 #D9CD42
square
#42D982 #424ED9 #D94299 #D9CD42
split-complementary
#42D982 #CD42D9 #D9424E
monochromatic
#1B8648 #25B964 #42D982 #75E3A4 #A8EDC5

Accessibility & contrast

On white

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

On black

11.48
#42D982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D982
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D982#FFFFFF#000000##000000
##42D9821.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42d982;
/* rgb */ color: rgb(66, 217, 130);
/* oklch */ color: oklch(78.6% 0.177 153.5);
Tailwind
colors: {
  custom: {
    50: '#89e6a7',
    500: '#42d982',
    950: '#000000',
  },
}
SCSS
$custom: #42d982;
$custom-light: #89e6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#42d982",
  "rgb": {
    "r": 66,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 145.43,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.78617,
    "c": 0.1766,
    "h": 153.5
  },
  "luminance": 0.52396
}

Semantic roles & 50–950 ramp

primary
#42D982
secondary
#8C3366
accent
#3EA1E9
background
#FCFEFC
surface
#F4FCF6
border
#CED5D0
text
#0D160F
muted
#7F8480

Preview Lab

Preview with #42D982

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

Preview Lab → · Contrast checker → · Palette generator →

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