#42C17D#42C17D

#42C17D is a light, vivid green. Relative luminance 0.408; OKLCH L 72.4% C 0.150 H 155.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#42C17D
RGBrgb(66, 193, 125)
HSLhsl(148, 51%, 51%)
HSVhsv(148, 66%, 76%)
CMYKcmyk(65.8%, 0%, 35.2%, 24.3%)
CIE-LABlab(70.02, -50.34, 24.31)
CIE-LCHlch(70.02, 55.90, 154.23°)
OKLaboklab(72.42% -0.1365 0.0611)
OKLCHoklch(72.42% 0.15 155.9)
XYZxyz(25.0162, 40.7762, 25.9503)
Luminance0.4078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42C17D #C14286
analogous
#46C142 #42C17D #42C1BC
triadic
#42C17D #7D42C1 #C17D42
tetradic
#42C17D #4246C1 #C14286 #C1BC42
square
#42C17D #4246C1 #C14286 #C1BC42
split-complementary
#42C17D #BC42C1 #C14246
monochromatic
#226742 #31955F #42C17D #70D09D #9EDFBC

Accessibility & contrast

On white

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

On black

9.16
#42C17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42C17D
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42C17D#FFFFFF#000000##000000
##42C17D1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42c17d;
/* rgb */ color: rgb(66, 193, 125);
/* oklch */ color: oklch(72.4% 0.150 155.9);
Tailwind
colors: {
  custom: {
    50: '#85d5a3',
    500: '#42c17d',
    950: '#000000',
  },
}
SCSS
$custom: #42c17d;
$custom-light: #85d5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42c17d",
  "rgb": {
    "r": 66,
    "g": 193,
    "b": 125
  },
  "hsl": {
    "h": 147.874,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72419,
    "c": 0.14951,
    "h": 155.9
  },
  "luminance": 0.40779
}

Semantic roles & 50–950 ramp

primary
#42C17D
secondary
#CC93B1
accent
#4E99DA
background
#F8FDFA
surface
#F0FAF3
border
#CBD3CD
text
#0C140F
muted
#7D837F

Preview Lab

Preview with #42C17D

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

Preview Lab → · Contrast checker → · Palette generator →

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