#42C971#42C971

#42C971 is a light, vivid green. Relative luminance 0.441; OKLCH L 74.2% C 0.171 H 151.1°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#42C971
RGBrgb(66, 201, 113)
HSLhsl(141, 56%, 52%)
HSVhsv(141, 67%, 79%)
CMYKcmyk(67.2%, 0%, 43.8%, 21.2%)
CIE-LABlab(72.31, -55.60, 33.56)
CIE-LCHlch(72.31, 64.95, 148.88°)
OKLaboklab(74.24% -0.1499 0.0827)
OKLCHoklch(74.24% 0.171 151.1)
XYZxyz(26.1119, 44.1210, 22.7597)
Luminance0.4412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C971 #C9429A
analogous
#56C942 #42C971 #42C9B5
triadic
#42C971 #7142C9 #C97142
tetradic
#42C971 #4256C9 #C9429A #C9B542
square
#42C971 #4256C9 #C9429A #C9B542
split-complementary
#42C971 #B542C9 #C94256
monochromatic
#20703C #2EA056 #42C971 #72D795 #A1E4B9

Accessibility & contrast

On white

2.14
#42C971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#42C971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C971
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C971#FFFFFF#000000##000000
##42C9711.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB86A
Deuteranopia (green-blind)
#B9AD77
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #42c971;
/* rgb */ color: rgb(66, 201, 113);
/* oklch */ color: oklch(74.2% 0.171 151.1);
Tailwind
colors: {
  custom: {
    50: '#86da9b',
    500: '#42c971',
    950: '#000000',
  },
}
SCSS
$custom: #42c971;
$custom-light: #86da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c971",
  "rgb": {
    "r": 66,
    "g": 201,
    "b": 113
  },
  "hsl": {
    "h": 140.889,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.7424,
    "c": 0.17121,
    "h": 151.1
  },
  "luminance": 0.44124
}

Semantic roles & 50–950 ramp

primary
#42C971
secondary
#D196BC
accent
#49ABDF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C971

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

Preview Lab → · Contrast checker → · Palette generator →

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