#42C771#42C771

#42C771 is a light, vivid green. Relative luminance 0.432; OKLCH L 73.7% C 0.169 H 151.3°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#42C771
RGBrgb(66, 199, 113)
HSLhsl(141, 54%, 52%)
HSVhsv(141, 67%, 78%)
CMYKcmyk(66.8%, 0%, 43.2%, 22%)
CIE-LABlab(71.69, -54.85, 32.76)
CIE-LCHlch(71.69, 63.89, 149.15°)
OKLaboklab(73.73% -0.1479 0.0808)
OKLCHoklch(73.73% 0.169 151.3)
XYZxyz(25.6487, 43.1946, 22.6053)
Luminance0.4320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C771 #C74298
analogous
#56C742 #42C771 #42C7B4
triadic
#42C771 #7142C7 #C77142
tetradic
#42C771 #4256C7 #C74298 #C7B442
square
#42C771 #4256C7 #C74298 #C7B442
split-complementary
#42C771 #B442C7 #C74256
monochromatic
#216E3C #2F9D56 #42C771 #71D594 #A0E3B8

Accessibility & contrast

On white

2.18
#42C771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#42C771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C771
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C771#FFFFFF#000000##000000
##42C7711.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B76B
Deuteranopia (green-blind)
#B7AB77
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c771;
/* rgb */ color: rgb(66, 199, 113);
/* oklch */ color: oklch(73.7% 0.169 151.3);
Tailwind
colors: {
  custom: {
    50: '#86d99b',
    500: '#42c771',
    950: '#000000',
  },
}
SCSS
$custom: #42c771;
$custom-light: #86d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c771",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 113
  },
  "hsl": {
    "h": 141.203,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73727,
    "c": 0.16858,
    "h": 151.3
  },
  "luminance": 0.43197
}

Semantic roles & 50–950 ramp

primary
#42C771
secondary
#D095BB
accent
#4AAADE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C771

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

Preview Lab → · Contrast checker → · Palette generator →

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