#42C170#42C170

#42C170 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.2% C 0.162 H 151.8°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#42C170
RGBrgb(66, 193, 112)
HSLhsl(142, 51%, 51%)
HSVhsv(142, 66%, 76%)
CMYKcmyk(65.8%, 0%, 42%, 24.3%)
CIE-LABlab(69.80, -52.75, 30.82)
CIE-LCHlch(69.80, 61.09, 149.70°)
OKLaboklab(72.17% -0.1424 0.0763)
OKLCHoklch(72.17% 0.162 151.8)
XYZxyz(24.2394, 40.4655, 21.8593)
Luminance0.4047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C170 #C14293
analogous
#53C142 #42C170 #42C1AF
triadic
#42C170 #7042C1 #C17042
tetradic
#42C170 #4253C1 #C14293 #C1AF42
square
#42C170 #4253C1 #C14293 #C1AF42
split-complementary
#42C170 #AF42C1 #C14253
monochromatic
#22673B #319555 #42C170 #70D093 #9EDFB6

Accessibility & contrast

On white

2.31
#42C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#42C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C170
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C170#FFFFFF#000000##000000
##42C1701.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B16A
Deuteranopia (green-blind)
#B1A675
Tritanopia (blue-blind)
#00BEAD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c170;
/* rgb */ color: rgb(66, 193, 112);
/* oklch */ color: oklch(72.2% 0.162 151.8);
Tailwind
colors: {
  custom: {
    50: '#85d59a',
    500: '#42c170',
    950: '#000000',
  },
}
SCSS
$custom: #42c170;
$custom-light: #85d59a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c170",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 141.732,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72167,
    "c": 0.16152,
    "h": 151.8
  },
  "luminance": 0.40468
}

Semantic roles & 50–950 ramp

primary
#42C170
secondary
#CC93B7
accent
#4EA7DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C170

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

Preview Lab → · Contrast checker → · Palette generator →

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