#42C270#42C270

#42C270 is a light, vivid green. Relative luminance 0.409; OKLCH L 72.4% C 0.163 H 151.7°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#42C270
RGBrgb(66, 194, 112)
HSLhsl(142, 51%, 51%)
HSVhsv(142, 66%, 76%)
CMYKcmyk(66%, 0%, 42.3%, 23.9%)
CIE-LABlab(70.11, -53.13, 31.23)
CIE-LCHlch(70.11, 61.63, 149.55°)
OKLaboklab(72.42% -0.1434 0.0772)
OKLCHoklch(72.42% 0.163 151.7)
XYZxyz(24.4612, 40.9091, 21.9332)
Luminance0.4091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C270 #C24294
analogous
#54C242 #42C270 #42C2B0
triadic
#42C270 #7042C2 #C27042
tetradic
#42C270 #4254C2 #C24294 #C2B042
square
#42C270 #4254C2 #C24294 #C2B042
split-complementary
#42C270 #B042C2 #C24254
monochromatic
#22683B #319655 #42C270 #70D193 #9FE0B6

Accessibility & contrast

On white

2.29
#42C270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#42C270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C270
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C270#FFFFFF#000000##000000
##42C2701.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B26A
Deuteranopia (green-blind)
#B2A775
Tritanopia (blue-blind)
#00BFAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c270;
/* rgb */ color: rgb(66, 194, 112);
/* oklch */ color: oklch(72.4% 0.163 151.7);
Tailwind
colors: {
  custom: {
    50: '#85d59a',
    500: '#42c270',
    950: '#000000',
  },
}
SCSS
$custom: #42c270;
$custom-light: #85d59a;
$custom-dark: #000000;
JSON
{
  "hex": "#42c270",
  "rgb": {
    "r": 66,
    "g": 194,
    "b": 112
  },
  "hsl": {
    "h": 141.563,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72424,
    "c": 0.16286,
    "h": 151.7
  },
  "luminance": 0.40912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42C270

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

Preview Lab → · Contrast checker → · Palette generator →

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