#42D17A#42D17A

#42D17A is a light, vivid green. Relative luminance 0.482; OKLCH L 76.4% C 0.173 H 152.5°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#42D17A
RGBrgb(66, 209, 122)
HSLhsl(143, 61%, 54%)
HSVhsv(143, 68%, 82%)
CMYKcmyk(68.4%, 0%, 41.6%, 18%)
CIE-LABlab(74.93, -57.04, 32.37)
CIE-LCHlch(74.93, 65.58, 150.42°)
OKLaboklab(76.44% -0.1538 0.0802)
OKLCHoklch(76.44% 0.173 152.5)
XYZxyz(28.5576, 48.1612, 26.1996)
Luminance0.4816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D17A #D14299
analogous
#52D142 #42D17A #42D1C2
triadic
#42D17A #7A42D1 #D17A42
tetradic
#42D17A #4252D1 #D14299 #D1C242
square
#42D17A #4252D1 #D14299 #D1C242
split-complementary
#42D17A #C242D1 #D14252
monochromatic
#1E7B42 #2AAC5D #42D17A #73DD9D #A4E9BF

Accessibility & contrast

On white

1.98
#42D17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#42D17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D17A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D17A#FFFFFF#000000##000000
##42D17A1.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C074
Deuteranopia (green-blind)
#C0B380
Tritanopia (blue-blind)
#00CEBC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d17a;
/* rgb */ color: rgb(66, 209, 122);
/* oklch */ color: oklch(76.4% 0.173 152.5);
Tailwind
colors: {
  custom: {
    50: '#88e0a1',
    500: '#42d17a',
    950: '#000000',
  },
}
SCSS
$custom: #42d17a;
$custom-light: #88e0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42d17a",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 122
  },
  "hsl": {
    "h": 143.497,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76442,
    "c": 0.17347,
    "h": 152.5
  },
  "luminance": 0.48164
}

Semantic roles & 50–950 ramp

primary
#42D17A
secondary
#D699BE
accent
#44A5E4
background
#F9FDFA
surface
#F1FBF3
border
#CBD4CD
text
#0D150F
muted
#7E837F

Preview Lab

Preview with #42D17A

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

Preview Lab → · Contrast checker → · Palette generator →

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