#42D178#42D178

#42D178 is a light, vivid green. Relative luminance 0.481; OKLCH L 76.4% C 0.175 H 152.0°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#42D178
RGBrgb(66, 209, 120)
HSLhsl(143, 61%, 54%)
HSVhsv(143, 68%, 82%)
CMYKcmyk(68.4%, 0%, 42.6%, 18%)
CIE-LABlab(74.90, -57.38, 33.35)
CIE-LCHlch(74.90, 66.37, 149.84°)
OKLaboklab(76.41% -0.1547 0.0824)
OKLCHoklch(76.41% 0.175 152)
XYZxyz(28.4350, 48.1121, 25.5537)
Luminance0.4812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D178 #D1429B
analogous
#54D142 #42D178 #42D1BF
triadic
#42D178 #7842D1 #D17842
tetradic
#42D178 #4254D1 #D1429B #D1BF42
square
#42D178 #4254D1 #D1429B #D1BF42
split-complementary
#42D178 #BF42D1 #D14254
monochromatic
#1E7B41 #2AAC5B #42D178 #73DD9B #A4E9BE

Accessibility & contrast

On white

1.98
#42D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#42D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D178
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D178#FFFFFF#000000##000000
##42D1781.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C072
Deuteranopia (green-blind)
#C0B37E
Tritanopia (blue-blind)
#00CEBB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d178;
/* rgb */ color: rgb(66, 209, 120);
/* oklch */ color: oklch(76.4% 0.175 152.0);
Tailwind
colors: {
  custom: {
    50: '#88e0a0',
    500: '#42d178',
    950: '#000000',
  },
}
SCSS
$custom: #42d178;
$custom-light: #88e0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#42d178",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 142.657,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76407,
    "c": 0.17528,
    "h": 152
  },
  "luminance": 0.48115
}

Semantic roles & 50–950 ramp

primary
#42D178
secondary
#D699BF
accent
#44A7E4
background
#F9FDF9
surface
#F1FBF2
border
#CBD4CC
text
#0D150F
muted
#7E837E

Preview Lab

Preview with #42D178

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

Preview Lab → · Contrast checker → · Palette generator →

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