#42A671#42A671

#42A671 is a light, vivid green. Relative luminance 0.296; OKLCH L 65.2% C 0.123 H 157.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#42A671
RGBrgb(66, 166, 113)
HSLhsl(148, 43%, 45%)
HSVhsv(148, 60%, 65%)
CMYKcmyk(60.2%, 0%, 31.9%, 34.9%)
CIE-LABlab(61.33, -41.66, 18.98)
CIE-LCHlch(61.33, 45.78, 155.50°)
OKLaboklab(65.21% -0.1135 0.048)
OKLCHoklch(65.21% 0.123 157.1)
XYZxyz(18.8620, 29.6211, 20.3430)
Luminance0.2962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A671 #A64277
analogous
#45A642 #42A671 #42A6A3
triadic
#42A671 #7142A6 #A67142
tetradic
#42A671 #4245A6 #A64277 #A6A342
square
#42A671 #4245A6 #A64277 #A6A342
split-complementary
#42A671 #A342A6 #A64245
monochromatic
#1F4E35 #317A53 #42A671 #64C190 #90D3AF

Accessibility & contrast

On white

3.03
#42A671 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#42A671 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A671
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A671#FFFFFF#000000##000000
##42A6711.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59A6E
Deuteranopia (green-blind)
#979074
Tritanopia (blue-blind)
#19A598
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #42a671;
/* rgb */ color: rgb(66, 166, 113);
/* oklch */ color: oklch(65.2% 0.123 157.1);
Tailwind
colors: {
  custom: {
    50: '#80c19a',
    500: '#42a671',
    950: '#000000',
  },
}
SCSS
$custom: #42a671;
$custom-light: #80c19a;
$custom-dark: #000000;
JSON
{
  "hex": "#42a671",
  "rgb": {
    "r": 66,
    "g": 166,
    "b": 113
  },
  "hsl": {
    "h": 148.2,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.65212,
    "c": 0.12322,
    "h": 157.1
  },
  "luminance": 0.29623
}

Semantic roles & 50–950 ramp

primary
#42A671
secondary
#BE86A4
accent
#5598D3
background
#F8FBF9
surface
#EFF7F2
border
#CAD0CC
text
#0B120E
muted
#7C817E

Preview Lab

Preview with #42A671

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

Preview Lab → · Contrast checker → · Palette generator →

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