#42AC71#42AC71

#42AC71 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.8% C 0.132 H 155.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#42AC71
RGBrgb(66, 172, 113)
HSLhsl(147, 45%, 47%)
HSVhsv(147, 62%, 67%)
CMYKcmyk(61.6%, 0%, 34.3%, 32.5%)
CIE-LABlab(63.22, -44.19, 21.56)
CIE-LCHlch(63.22, 49.17, 153.99°)
OKLaboklab(66.77% -0.12 0.0543)
OKLCHoklch(66.77% 0.132 155.7)
XYZxyz(19.9782, 31.8536, 20.7151)
Luminance0.3186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC71 #AC427D
analogous
#48AC42 #42AC71 #42ACA6
triadic
#42AC71 #7142AC #AC7142
tetradic
#42AC71 #4248AC #AC427D #ACA642
square
#42AC71 #4248AC #AC427D #ACA642
split-complementary
#42AC71 #A642AC #AC4248
monochromatic
#205437 #318054 #42AC71 #67C590 #93D6B0

Accessibility & contrast

On white

2.85
#42AC71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#42AC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC71
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC71#FFFFFF#000000##000000
##42AC711.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6D
Deuteranopia (green-blind)
#9D9575
Tritanopia (blue-blind)
#14AA9D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42ac71;
/* rgb */ color: rgb(66, 172, 113);
/* oklch */ color: oklch(66.8% 0.132 155.7);
Tailwind
colors: {
  custom: {
    50: '#81c59a',
    500: '#42ac71',
    950: '#000000',
  },
}
SCSS
$custom: #42ac71;
$custom-light: #81c59a;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac71",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 113
  },
  "hsl": {
    "h": 146.604,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66766,
    "c": 0.13172,
    "h": 155.7
  },
  "luminance": 0.31856
}

Semantic roles & 50–950 ramp

primary
#42AC71
secondary
#C189A8
accent
#549BD4
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #42AC71

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

Preview Lab → · Contrast checker → · Palette generator →

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