#42C770#42C770

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

Color values

HEX#42C770
RGBrgb(66, 199, 112)
HSLhsl(141, 54%, 52%)
HSVhsv(141, 67%, 78%)
CMYKcmyk(66.8%, 0%, 43.7%, 22%)
CIE-LABlab(71.67, -55.02, 33.25)
CIE-LCHlch(71.67, 64.29, 148.86°)
OKLaboklab(73.71% -0.1484 0.0819)
OKLCHoklch(73.71% 0.169 151.1)
XYZxyz(25.5928, 43.1722, 22.3104)
Luminance0.4318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C770 #C74299
analogous
#57C742 #42C770 #42C7B3
triadic
#42C770 #7042C7 #C77042
tetradic
#42C770 #4257C7 #C74299 #C7B342
square
#42C770 #4257C7 #C74299 #C7B342
split-complementary
#42C770 #B342C7 #C74257
monochromatic
#216E3B #2F9D55 #42C770 #71D594 #A0E3B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C770#FFFFFF#000000##000000
##42C7701.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)
#C8B76A
Deuteranopia (green-blind)
#B7AB76
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #42c770;
/* rgb */ color: rgb(66, 199, 112);
/* oklch */ color: oklch(73.7% 0.169 151.1);
Tailwind
colors: {
  custom: {
    50: '#86d99a',
    500: '#42c770',
    950: '#000000',
  },
}
SCSS
$custom: #42c770;
$custom-light: #86d99a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c770",
  "rgb": {
    "r": 66,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 140.752,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.73709,
    "c": 0.16949,
    "h": 151.1
  },
  "luminance": 0.43175
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C770

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

Preview Lab → · Contrast checker → · Palette generator →

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