#42C174#42C174

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

Color values

HEX#42C174
RGBrgb(66, 193, 116)
HSLhsl(144, 51%, 51%)
HSVhsv(144, 66%, 76%)
CMYKcmyk(65.8%, 0%, 39.9%, 24.3%)
CIE-LABlab(69.86, -52.04, 28.83)
CIE-LCHlch(69.86, 59.49, 151.01°)
OKLaboklab(72.24% -0.1406 0.0717)
OKLCHoklch(72.24% 0.158 153)
XYZxyz(24.4671, 40.5565, 23.0584)
Luminance0.4056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C174 #C1428F
analogous
#4FC142 #42C174 #42C1B3
triadic
#42C174 #7442C1 #C17442
tetradic
#42C174 #424FC1 #C1428F #C1B342
square
#42C174 #424FC1 #C1428F #C1B342
split-complementary
#42C174 #B342C1 #C1424F
monochromatic
#22673D #319558 #42C174 #70D096 #9EDFB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42C174#FFFFFF#000000##000000
##42C1741.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c174;
/* rgb */ color: rgb(66, 193, 116);
/* oklch */ color: oklch(72.2% 0.158 153.0);
Tailwind
colors: {
  custom: {
    50: '#85d59d',
    500: '#42c174',
    950: '#000000',
  },
}
SCSS
$custom: #42c174;
$custom-light: #85d59d;
$custom-dark: #000000;
JSON
{
  "hex": "#42c174",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 116
  },
  "hsl": {
    "h": 143.622,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72241,
    "c": 0.1578,
    "h": 153
  },
  "luminance": 0.40559
}

Semantic roles & 50–950 ramp

primary
#42C174
secondary
#CC93B5
accent
#4EA3DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E

Preview Lab

Preview with #42C174

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

Preview Lab → · Contrast checker → · Palette generator →

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