#42AE76#42AE76

#42AE76 is a light, vivid green. Relative luminance 0.327; OKLCH L 67.4% C 0.130 H 157.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#42AE76
RGBrgb(66, 174, 118)
HSLhsl(149, 45%, 47%)
HSVhsv(149, 62%, 68%)
CMYKcmyk(62.1%, 0%, 32.2%, 31.8%)
CIE-LABlab(63.95, -44.01, 19.83)
CIE-LCHlch(63.95, 48.27, 155.74°)
OKLaboklab(67.39% -0.1198 0.0502)
OKLCHoklch(67.39% 0.13 157.3)
XYZxyz(20.6510, 32.7363, 22.3665)
Luminance0.3274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42AE76 #AE427A
analogous
#44AE42 #42AE76 #42AEAC
triadic
#42AE76 #7642AE #AE7642
tetradic
#42AE76 #4244AE #AE427A #AEAC42
square
#42AE76 #4244AE #AE427A #AEAC42
split-complementary
#42AE76 #AC42AE #AE4244
monochromatic
#20553A #318258 #42AE76 #68C695 #94D6B4

Accessibility & contrast

On white

2.78
#42AE76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#42AE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42AE76
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42AE76#FFFFFF#000000##000000
##42AE761.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADA173
Deuteranopia (green-blind)
#9E977A
Tritanopia (blue-blind)
#0CAD9F
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #42ae76;
/* rgb */ color: rgb(66, 174, 118);
/* oklch */ color: oklch(67.4% 0.130 157.3);
Tailwind
colors: {
  custom: {
    50: '#81c79d',
    500: '#42ae76',
    950: '#000000',
  },
}
SCSS
$custom: #42ae76;
$custom-light: #81c79d;
$custom-dark: #000000;
JSON
{
  "hex": "#42ae76",
  "rgb": {
    "r": 66,
    "g": 174,
    "b": 118
  },
  "hsl": {
    "h": 148.889,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67392,
    "c": 0.12987,
    "h": 157.3
  },
  "luminance": 0.32738
}

Semantic roles & 50–950 ramp

primary
#42AE76
secondary
#C28AA7
accent
#5396D5
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130E
muted
#7C827E

Preview Lab

Preview with #42AE76

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

Preview Lab → · Contrast checker → · Palette generator →

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