#42AC66#42AC66

#42AC66 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.5% C 0.142 H 151.6°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#42AC66
RGBrgb(66, 172, 102)
HSLhsl(140, 45%, 47%)
HSVhsv(140, 62%, 67%)
CMYKcmyk(61.6%, 0%, 40.7%, 32.5%)
CIE-LABlab(63.03, -46.27, 27.21)
CIE-LCHlch(63.03, 53.67, 149.54°)
OKLaboklab(66.54% -0.1251 0.0676)
OKLCHoklch(66.54% 0.142 151.6)
XYZxyz(19.3961, 31.6207, 17.6490)
Luminance0.3162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AC66 #AC4288
analogous
#53AC42 #42AC66 #42AC9B
triadic
#42AC66 #6642AC #AC6642
tetradic
#42AC66 #4253AC #AC4288 #AC9B42
square
#42AC66 #4253AC #AC4288 #AC9B42
split-complementary
#42AC66 #9B42AC #AC4253
monochromatic
#205432 #31804C #42AC66 #67C587 #93D6AA

Accessibility & contrast

On white

2.87
#42AC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#42AC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AC66
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AC66#FFFFFF#000000##000000
##42AC661.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9E61
Deuteranopia (green-blind)
#9F956B
Tritanopia (blue-blind)
#1EA99B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #42ac66;
/* rgb */ color: rgb(66, 172, 102);
/* oklch */ color: oklch(66.5% 0.142 151.6);
Tailwind
colors: {
  custom: {
    50: '#81c592',
    500: '#42ac66',
    950: '#000000',
  },
}
SCSS
$custom: #42ac66;
$custom-light: #81c592;
$custom-dark: #000000;
JSON
{
  "hex": "#42ac66",
  "rgb": {
    "r": 66,
    "g": 172,
    "b": 102
  },
  "hsl": {
    "h": 140.377,
    "s": 44.538,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66544,
    "c": 0.14219,
    "h": 151.6
  },
  "luminance": 0.31623
}

Semantic roles & 50–950 ramp

primary
#42AC66
secondary
#C189AE
accent
#54A9D4
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #42AC66

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

Preview Lab → · Contrast checker → · Palette generator →

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