#42D17D#42D17D

#42D17D is a light, vivid green. Relative luminance 0.482; OKLCH L 76.5% C 0.171 H 153.3°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#42D17D
RGBrgb(66, 209, 125)
HSLhsl(145, 61%, 54%)
HSVhsv(145, 68%, 82%)
CMYKcmyk(68.4%, 0%, 40.2%, 18%)
CIE-LABlab(74.97, -56.51, 30.90)
CIE-LCHlch(74.97, 64.40, 151.33°)
OKLaboklab(76.5% -0.1525 0.0768)
OKLCHoklch(76.5% 0.171 153.3)
XYZxyz(28.7464, 48.2367, 27.1937)
Luminance0.4824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D17D #D14296
analogous
#4FD142 #42D17D #42D1C4
triadic
#42D17D #7D42D1 #D17D42
tetradic
#42D17D #424FD1 #D14296 #D1C442
square
#42D17D #424FD1 #D14296 #D1C442
split-complementary
#42D17D #C442D1 #D1424F
monochromatic
#1E7B44 #2AAC60 #42D17D #73DD9F #A4E9C1

Accessibility & contrast

On white

1.97
#42D17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#42D17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D17D
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D17D#FFFFFF#000000##000000
##42D17D1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C077
Deuteranopia (green-blind)
#BFB483
Tritanopia (blue-blind)
#00CEBC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #42d17d;
/* rgb */ color: rgb(66, 209, 125);
/* oklch */ color: oklch(76.5% 0.171 153.3);
Tailwind
colors: {
  custom: {
    50: '#87e0a3',
    500: '#42d17d',
    950: '#000000',
  },
}
SCSS
$custom: #42d17d;
$custom-light: #87e0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42d17d",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 125
  },
  "hsl": {
    "h": 144.755,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76497,
    "c": 0.17074,
    "h": 153.3
  },
  "luminance": 0.4824
}

Semantic roles & 50–950 ramp

primary
#42D17D
secondary
#D699BD
accent
#44A2E4
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #42D17D

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

Preview Lab → · Contrast checker → · Palette generator →

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