#42A170#42A170

#42A170 is a light, moderate green. Relative luminance 0.278; OKLCH L 63.9% C 0.117 H 157.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#42A170
RGBrgb(66, 161, 112)
HSLhsl(149, 42%, 45%)
HSVhsv(149, 59%, 63%)
CMYKcmyk(59%, 0%, 30.4%, 36.9%)
CIE-LABlab(59.72, -39.71, 17.34)
CIE-LCHlch(59.72, 43.33, 156.41°)
OKLaboklab(63.89% -0.1084 0.044)
OKLCHoklch(63.89% 0.117 157.9)
XYZxyz(17.9147, 27.8161, 19.7511)
Luminance0.2782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A170 #A14273
analogous
#43A142 #42A170 #42A1A0
triadic
#42A170 #7042A1 #A17042
tetradic
#42A170 #4243A1 #A14273 #A1A042
square
#42A170 #4243A1 #A14273 #A1A042
split-complementary
#42A170 #A042A1 #A14243
monochromatic
#1E4A34 #307652 #42A170 #62BF8F #8DD0AE

Accessibility & contrast

On white

3.20
#42A170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#42A170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A170
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A170#FFFFFF#000000##000000
##42A1701.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0956D
Deuteranopia (green-blind)
#938C73
Tritanopia (blue-blind)
#1DA094
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #42a170;
/* rgb */ color: rgb(66, 161, 112);
/* oklch */ color: oklch(63.9% 0.117 157.9);
Tailwind
colors: {
  custom: {
    50: '#7fbd99',
    500: '#42a170',
    950: '#000000',
  },
}
SCSS
$custom: #42a170;
$custom-light: #7fbd99;
$custom-dark: #000000;
JSON
{
  "hex": "#42a170",
  "rgb": {
    "r": 66,
    "g": 161,
    "b": 112
  },
  "hsl": {
    "h": 149.053,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.11699,
    "h": 157.9
  },
  "luminance": 0.27818
}

Semantic roles & 50–950 ramp

primary
#42A170
secondary
#BB83A0
accent
#5696D2
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #42A170

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

Preview Lab → · Contrast checker → · Palette generator →

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