#42C980#42C980

#42C980 is a light, vivid green. Relative luminance 0.445; OKLCH L 74.5% C 0.157 H 155.4°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#42C980
RGBrgb(66, 201, 128)
HSLhsl(148, 56%, 52%)
HSVhsv(148, 67%, 79%)
CMYKcmyk(67.2%, 0%, 36.3%, 21.2%)
CIE-LABlab(72.55, -52.90, 26.13)
CIE-LCHlch(72.55, 59.00, 153.71°)
OKLaboklab(74.52% -0.1432 0.0655)
OKLCHoklch(74.52% 0.157 155.4)
XYZxyz(27.0273, 44.4871, 27.5804)
Luminance0.4449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C980 #C9428B
analogous
#47C942 #42C980 #42C9C4
triadic
#42C980 #8042C9 #C98042
tetradic
#42C980 #4247C9 #C9428B #C9C442
square
#42C980 #4247C9 #C9428B #C9C442
split-complementary
#42C980 #C442C9 #C94247
monochromatic
#207045 #2EA062 #42C980 #72D7A0 #A1E4C0

Accessibility & contrast

On white

2.12
#42C980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.90
#42C980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C980
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C980#FFFFFF#000000##000000
##42C9801.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B97B
Deuteranopia (green-blind)
#B7AD85
Tritanopia (blue-blind)
#00C7B6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #42c980;
/* rgb */ color: rgb(66, 201, 128);
/* oklch */ color: oklch(74.5% 0.157 155.4);
Tailwind
colors: {
  custom: {
    50: '#86daa5',
    500: '#42c980',
    950: '#000000',
  },
}
SCSS
$custom: #42c980;
$custom-light: #86daa5;
$custom-dark: #000000;
JSON
{
  "hex": "#42c980",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 128
  },
  "hsl": {
    "h": 147.556,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7452,
    "c": 0.15747,
    "h": 155.4
  },
  "luminance": 0.4449
}

Semantic roles & 50–950 ramp

primary
#42C980
secondary
#D196B6
accent
#499ADF
background
#F8FDFA
surface
#F0FBF4
border
#CBD4CE
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #42C980

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

Preview Lab → · Contrast checker → · Palette generator →

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