#42C173#42C173

#42C173 is a light, vivid green. Relative luminance 0.405; OKLCH L 72.2% C 0.159 H 152.7°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#42C173
RGBrgb(66, 193, 115)
HSLhsl(143, 51%, 51%)
HSVhsv(143, 66%, 76%)
CMYKcmyk(65.8%, 0%, 40.4%, 24.3%)
CIE-LABlab(69.85, -52.22, 29.33)
CIE-LCHlch(69.85, 59.89, 150.68°)
OKLaboklab(72.22% -0.141 0.0729)
OKLCHoklch(72.22% 0.159 152.7)
XYZxyz(24.4092, 40.5334, 22.7537)
Luminance0.4054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C173 #C14290
analogous
#50C142 #42C173 #42C1B3
triadic
#42C173 #7342C1 #C17342
tetradic
#42C173 #4250C1 #C14290 #C1B342
square
#42C173 #4250C1 #C14290 #C1B342
split-complementary
#42C173 #B342C1 #C14250
monochromatic
#22673C #319557 #42C173 #70D095 #9EDFB7

Accessibility & contrast

On white

2.31
#42C173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#42C173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C173
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C173#FFFFFF#000000##000000
##42C1731.002.319.119.11
#FFFFFF2.311.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B26E
Deuteranopia (green-blind)
#B1A678
Tritanopia (blue-blind)
#00BEAE
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c173;
/* rgb */ color: rgb(66, 193, 115);
/* oklch */ color: oklch(72.2% 0.159 152.7);
Tailwind
colors: {
  custom: {
    50: '#85d59c',
    500: '#42c173',
    950: '#000000',
  },
}
SCSS
$custom: #42c173;
$custom-light: #85d59c;
$custom-dark: #000000;
JSON
{
  "hex": "#42c173",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 115
  },
  "hsl": {
    "h": 143.15,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72222,
    "c": 0.15873,
    "h": 152.7
  },
  "luminance": 0.40536
}

Semantic roles & 50–950 ramp

primary
#42C173
secondary
#CC93B6
accent
#4EA4DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C173

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

Preview Lab → · Contrast checker → · Palette generator →

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