#42C371#42C371

#42C371 is a light, vivid green. Relative luminance 0.414; OKLCH L 72.7% C 0.163 H 151.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#42C371
RGBrgb(66, 195, 113)
HSLhsl(142, 52%, 51%)
HSVhsv(142, 66%, 76%)
CMYKcmyk(66.2%, 0%, 42.1%, 23.5%)
CIE-LABlab(70.44, -53.34, 31.14)
CIE-LCHlch(70.44, 61.76, 149.72°)
OKLaboklab(72.7% -0.1439 0.0771)
OKLCHoklch(72.7% 0.163 151.8)
XYZxyz(24.7405, 41.3781, 22.3025)
Luminance0.4138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C371 #C34294
analogous
#53C342 #42C371 #42C3B1
triadic
#42C371 #7142C3 #C37142
tetradic
#42C371 #4253C3 #C34294 #C3B142
square
#42C371 #4253C3 #C34294 #C3B142
split-complementary
#42C371 #B142C3 #C34253
monochromatic
#21693C #309856 #42C371 #70D294 #9FE0B7

Accessibility & contrast

On white

2.26
#42C371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#42C371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C371
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C371#FFFFFF#000000##000000
##42C3711.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B36B
Deuteranopia (green-blind)
#B3A876
Tritanopia (blue-blind)
#00C0AF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #42c371;
/* rgb */ color: rgb(66, 195, 113);
/* oklch */ color: oklch(72.7% 0.163 151.8);
Tailwind
colors: {
  custom: {
    50: '#85d69b',
    500: '#42c371',
    950: '#000000',
  },
}
SCSS
$custom: #42c371;
$custom-light: #85d69b;
$custom-dark: #000000;
JSON
{
  "hex": "#42c371",
  "rgb": {
    "r": 66,
    "g": 195,
    "b": 113
  },
  "hsl": {
    "h": 141.86,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72699,
    "c": 0.16327,
    "h": 151.8
  },
  "luminance": 0.41381
}

Semantic roles & 50–950 ramp

primary
#42C371
secondary
#CD94B8
accent
#4DA7DB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C371

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

Preview Lab → · Contrast checker → · Palette generator →

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