#42D17E#42D17E

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

Color values

HEX#42D17E
RGBrgb(66, 209, 126)
HSLhsl(145, 61%, 54%)
HSVhsv(145, 68%, 82%)
CMYKcmyk(68.4%, 0%, 39.7%, 18%)
CIE-LABlab(74.99, -56.33, 30.41)
CIE-LCHlch(74.99, 64.01, 151.64°)
OKLaboklab(76.52% -0.152 0.0757)
OKLCHoklch(76.52% 0.17 153.5)
XYZxyz(28.8106, 48.2624, 27.5318)
Luminance0.4827 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D17E #D14295
analogous
#4ED142 #42D17E #42D1C6
triadic
#42D17E #7E42D1 #D17E42
tetradic
#42D17E #424ED1 #D14295 #D1C642
square
#42D17E #424ED1 #D14295 #D1C642
split-complementary
#42D17E #C642D1 #D1424E
monochromatic
#1E7B45 #2AAC60 #42D17E #73DDA0 #A4E9C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D17E#FFFFFF#000000##000000
##42D17E1.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)
#D1C078
Deuteranopia (green-blind)
#BFB484
Tritanopia (blue-blind)
#00CEBC
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #42d17e;
/* rgb */ color: rgb(66, 209, 126);
/* oklch */ color: oklch(76.5% 0.170 153.5);
Tailwind
colors: {
  custom: {
    50: '#87e0a4',
    500: '#42d17e',
    950: '#000000',
  },
}
SCSS
$custom: #42d17e;
$custom-light: #87e0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42d17e",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 126
  },
  "hsl": {
    "h": 145.175,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76516,
    "c": 0.16983,
    "h": 153.5
  },
  "luminance": 0.48266
}

Semantic roles & 50–950 ramp

primary
#42D17E
secondary
#D699BC
accent
#44A1E4
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #42D17E

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

Preview Lab → · Contrast checker → · Palette generator →

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