#42C670#42C670

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

Color values

HEX#42C670
RGBrgb(66, 198, 112)
HSLhsl(141, 54%, 52%)
HSVhsv(141, 67%, 78%)
CMYKcmyk(66.7%, 0%, 43.4%, 22.4%)
CIE-LABlab(71.36, -54.65, 32.85)
CIE-LCHlch(71.36, 63.76, 148.99°)
OKLaboklab(73.45% -0.1474 0.081)
OKLCHoklch(73.45% 0.168 151.2)
XYZxyz(25.3634, 42.7136, 22.2340)
Luminance0.4272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C670 #C64298
analogous
#56C642 #42C670 #42C6B2
triadic
#42C670 #7042C6 #C67042
tetradic
#42C670 #4256C6 #C64298 #C6B242
square
#42C670 #4256C6 #C64298 #C6B242
split-complementary
#42C670 #B242C6 #C64256
monochromatic
#216D3B #2F9C55 #42C670 #71D494 #A0E2B7

Accessibility & contrast

On white

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

On black

9.54
#42C670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C670
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C670#FFFFFF#000000##000000
##42C6701.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c670;
/* rgb */ color: rgb(66, 198, 112);
/* oklch */ color: oklch(73.5% 0.168 151.2);
Tailwind
colors: {
  custom: {
    50: '#86d89a',
    500: '#42c670',
    950: '#000000',
  },
}
SCSS
$custom: #42c670;
$custom-light: #86d89a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c670",
  "rgb": {
    "r": 66,
    "g": 198,
    "b": 112
  },
  "hsl": {
    "h": 140.909,
    "s": 53.659,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73453,
    "c": 0.16817,
    "h": 151.2
  },
  "luminance": 0.42716
}

Semantic roles & 50–950 ramp

primary
#42C670
secondary
#CF95BB
accent
#4BAADD
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #42C670

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

Preview Lab → · Contrast checker → · Palette generator →

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