#42C671#42C671

#42C671 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.5% C 0.167 H 151.5°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#42C671
RGBrgb(66, 198, 113)
HSLhsl(141, 54%, 52%)
HSVhsv(141, 67%, 78%)
CMYKcmyk(66.7%, 0%, 42.9%, 22.4%)
CIE-LABlab(71.38, -54.48, 32.36)
CIE-LCHlch(71.38, 63.36, 149.29°)
OKLaboklab(73.47% -0.1469 0.0799)
OKLCHoklch(73.47% 0.167 151.5)
XYZxyz(25.4194, 42.7360, 22.5288)
Luminance0.4274 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C671 #C64297
analogous
#55C642 #42C671 #42C6B3
triadic
#42C671 #7142C6 #C67142
tetradic
#42C671 #4255C6 #C64297 #C6B342
square
#42C671 #4255C6 #C64297 #C6B342
split-complementary
#42C671 #B342C6 #C64255
monochromatic
#216D3C #2F9C56 #42C671 #71D494 #A0E2B8

Accessibility & contrast

On white

2.20
#42C671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#42C671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C671
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C671#FFFFFF#000000##000000
##42C6711.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B66B
Deuteranopia (green-blind)
#B6AA77
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #42c671;
/* rgb */ color: rgb(66, 198, 113);
/* oklch */ color: oklch(73.5% 0.167 151.5);
Tailwind
colors: {
  custom: {
    50: '#86d89b',
    500: '#42c671',
    950: '#000000',
  },
}
SCSS
$custom: #42c671;
$custom-light: #86d89b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c671",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 113
  },
  "hsl": {
    "h": 141.364,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7347,
    "c": 0.16725,
    "h": 151.5
  },
  "luminance": 0.42739
}

Semantic roles & 50–950 ramp

primary
#42C671
secondary
#CF95BA
accent
#4BA9DD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C671

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

Preview Lab → · Contrast checker → · Palette generator →

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