#42C370#42C370

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

Color values

HEX#42C370
RGBrgb(66, 195, 112)
HSLhsl(141, 52%, 51%)
HSVhsv(141, 66%, 76%)
CMYKcmyk(66.2%, 0%, 42.6%, 23.5%)
CIE-LABlab(70.42, -53.51, 31.63)
CIE-LCHlch(70.42, 62.16, 149.41°)
OKLaboklab(72.68% -0.1444 0.0782)
OKLCHoklch(72.68% 0.164 151.6)
XYZxyz(24.6845, 41.3557, 22.0076)
Luminance0.4136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C370 #C34295
analogous
#54C342 #42C370 #42C3B0
triadic
#42C370 #7042C3 #C37042
tetradic
#42C370 #4254C3 #C34295 #C3B042
square
#42C370 #4254C3 #C34295 #C3B042
split-complementary
#42C370 #B042C3 #C34254
monochromatic
#21693B #309855 #42C370 #70D293 #9FE0B6

Accessibility & contrast

On white

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

On black

9.27
#42C370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C370
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C370#FFFFFF#000000##000000
##42C3701.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c370;
/* rgb */ color: rgb(66, 195, 112);
/* oklch */ color: oklch(72.7% 0.164 151.6);
Tailwind
colors: {
  custom: {
    50: '#85d69a',
    500: '#42c370',
    950: '#000000',
  },
}
SCSS
$custom: #42c370;
$custom-light: #85d69a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c370",
  "rgb": {
    "r": 66,
    "g": 195,
    "b": 112
  },
  "hsl": {
    "h": 141.395,
    "s": 51.807,
    "l": 51.176
  },
  "oklch": {
    "l": 0.72682,
    "c": 0.16419,
    "h": 151.6
  },
  "luminance": 0.41358
}

Semantic roles & 50–950 ramp

primary
#42C370
secondary
#CD94B9
accent
#4DA8DB
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C370

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

Preview Lab → · Contrast checker → · Palette generator →

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