#42D17C#42D17C

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

Color values

HEX#42D17C
RGBrgb(66, 209, 124)
HSLhsl(144, 61%, 54%)
HSVhsv(144, 68%, 82%)
CMYKcmyk(68.4%, 0%, 40.7%, 18%)
CIE-LABlab(74.96, -56.69, 31.39)
CIE-LCHlch(74.96, 64.80, 151.02°)
OKLaboklab(76.48% -0.1529 0.0779)
OKLCHoklch(76.48% 0.172 153)
XYZxyz(28.6828, 48.2113, 26.8589)
Luminance0.4821 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D17C #D14297
analogous
#50D142 #42D17C #42D1C4
triadic
#42D17C #7C42D1 #D17C42
tetradic
#42D17C #4250D1 #D14297 #D1C442
square
#42D17C #4250D1 #D14297 #D1C442
split-complementary
#42D17C #C442D1 #D14250
monochromatic
#1E7B44 #2AAC5F #42D17C #73DD9E #A4E9C0

Accessibility & contrast

On white

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

On black

10.64
#42D17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D17C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D17C#FFFFFF#000000##000000
##42D17C1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42d17c;
/* rgb */ color: rgb(66, 209, 124);
/* oklch */ color: oklch(76.5% 0.172 153.0);
Tailwind
colors: {
  custom: {
    50: '#87e0a3',
    500: '#42d17c',
    950: '#000000',
  },
}
SCSS
$custom: #42d17c;
$custom-light: #87e0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42d17c",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 124
  },
  "hsl": {
    "h": 144.336,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76479,
    "c": 0.17165,
    "h": 153
  },
  "luminance": 0.48214
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42D17C

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

Preview Lab → · Contrast checker → · Palette generator →

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