#42AC72#42AC72

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

Color values

HEX#42AC72
RGBrgb(66, 172, 114)
HSLhsl(147, 45%, 47%)
HSVhsv(147, 62%, 67%)
CMYKcmyk(61.6%, 0%, 33.7%, 32.5%)
CIE-LABlab(63.24, -43.99, 21.04)
CIE-LCHlch(63.24, 48.76, 154.43°)
OKLaboklab(66.79% -0.1195 0.0531)
OKLCHoklch(66.79% 0.131 156.1)
XYZxyz(20.0348, 31.8762, 21.0132)
Luminance0.3188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC72 #AC427C
analogous
#47AC42 #42AC72 #42ACA7
triadic
#42AC72 #7242AC #AC7242
tetradic
#42AC72 #4247AC #AC427C #ACA742
square
#42AC72 #4247AC #AC427C #ACA742
split-complementary
#42AC72 #A742AC #AC4247
monochromatic
#205437 #318055 #42AC72 #67C591 #93D6B1

Accessibility & contrast

On white

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

On black

7.38
#42AC72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC72
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC72#FFFFFF#000000##000000
##42AC721.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9F6E
Deuteranopia (green-blind)
#9D9576
Tritanopia (blue-blind)
#13AA9D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #42ac72;
/* rgb */ color: rgb(66, 172, 114);
/* oklch */ color: oklch(66.8% 0.131 156.1);
Tailwind
colors: {
  custom: {
    50: '#81c59b',
    500: '#42ac72',
    950: '#000000',
  },
}
SCSS
$custom: #42ac72;
$custom-light: #81c59b;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac72",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 114
  },
  "hsl": {
    "h": 147.17,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.13078,
    "h": 156.1
  },
  "luminance": 0.31878
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42AC72

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

Preview Lab → · Contrast checker → · Palette generator →

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