#42C178#42C178

#42C178 is a light, vivid green. Relative luminance 0.407; OKLCH L 72.3% C 0.154 H 154.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#42C178
RGBrgb(66, 193, 120)
HSLhsl(146, 51%, 51%)
HSVhsv(146, 66%, 76%)
CMYKcmyk(65.8%, 0%, 37.8%, 24.3%)
CIE-LABlab(69.93, -51.30, 26.83)
CIE-LCHlch(69.93, 57.89, 152.39°)
OKLaboklab(72.32% -0.1388 0.0671)
OKLCHoklch(72.32% 0.154 154.2)
XYZxyz(24.7048, 40.6516, 24.3102)
Luminance0.4065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C178 #C1428B
analogous
#4BC142 #42C178 #42C1B8
triadic
#42C178 #7842C1 #C17842
tetradic
#42C178 #424BC1 #C1428B #C1B842
square
#42C178 #424BC1 #C1428B #C1B842
split-complementary
#42C178 #B842C1 #C1424B
monochromatic
#22673F #31955B #42C178 #70D099 #9EDFBA

Accessibility & contrast

On white

2.30
#42C178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#42C178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C178
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C178#FFFFFF#000000##000000
##42C1781.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B273
Deuteranopia (green-blind)
#B0A67D
Tritanopia (blue-blind)
#00BFAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #42c178;
/* rgb */ color: rgb(66, 193, 120);
/* oklch */ color: oklch(72.3% 0.154 154.2);
Tailwind
colors: {
  custom: {
    50: '#85d59f',
    500: '#42c178',
    950: '#000000',
  },
}
SCSS
$custom: #42c178;
$custom-light: #85d59f;
$custom-dark: #000000;
JSON
{
  "hex": "#42c178",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 120
  },
  "hsl": {
    "h": 145.512,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72318,
    "c": 0.1541,
    "h": 154.2
  },
  "luminance": 0.40654
}

Semantic roles & 50–950 ramp

primary
#42C178
secondary
#CC93B4
accent
#4E9EDA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C178

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

Preview Lab → · Contrast checker → · Palette generator →

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