#42C780#42C780

#42C780 is a light, vivid green. Relative luminance 0.436; OKLCH L 74.0% C 0.155 H 155.8°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#42C780
RGBrgb(66, 199, 128)
HSLhsl(148, 54%, 52%)
HSVhsv(148, 67%, 78%)
CMYKcmyk(66.8%, 0%, 35.7%, 22%)
CIE-LABlab(71.93, -52.12, 25.30)
CIE-LCHlch(71.93, 57.94, 154.11°)
OKLaboklab(74.01% -0.1412 0.0635)
OKLCHoklch(74.01% 0.155 155.8)
XYZxyz(26.5641, 43.5607, 27.4260)
Luminance0.4356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C780 #C74289
analogous
#47C742 #42C780 #42C7C3
triadic
#42C780 #8042C7 #C78042
tetradic
#42C780 #4247C7 #C74289 #C7C342
square
#42C780 #4247C7 #C74289 #C7C342
split-complementary
#42C780 #C342C7 #C74247
monochromatic
#216E45 #2F9D62 #42C780 #71D5A0 #A0E3BF

Accessibility & contrast

On white

2.16
#42C780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#42C780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C780
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C780#FFFFFF#000000##000000
##42C7801.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B87B
Deuteranopia (green-blind)
#B5AB85
Tritanopia (blue-blind)
#00C5B5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c780;
/* rgb */ color: rgb(66, 199, 128);
/* oklch */ color: oklch(74.0% 0.155 155.8);
Tailwind
colors: {
  custom: {
    50: '#86d9a5',
    500: '#42c780',
    950: '#000000',
  },
}
SCSS
$custom: #42c780;
$custom-light: #86d9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#42c780",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 128
  },
  "hsl": {
    "h": 147.97,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.74011,
    "c": 0.15482,
    "h": 155.8
  },
  "luminance": 0.43564
}

Semantic roles & 50–950 ramp

primary
#42C780
secondary
#D095B4
accent
#4A99DE
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C780

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

Preview Lab → · Contrast checker → · Palette generator →

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