#42D17B#42D17B

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

Color values

HEX#42D17B
RGBrgb(66, 209, 123)
HSLhsl(144, 61%, 54%)
HSVhsv(144, 68%, 82%)
CMYKcmyk(68.4%, 0%, 41.1%, 18%)
CIE-LABlab(74.94, -56.86, 31.88)
CIE-LCHlch(74.94, 65.19, 150.72°)
OKLaboklab(76.46% -0.1534 0.0791)
OKLCHoklch(76.46% 0.173 152.7)
XYZxyz(28.6199, 48.1861, 26.5276)
Luminance0.4819 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D17B #D14298
analogous
#51D142 #42D17B #42D1C3
triadic
#42D17B #7B42D1 #D17B42
tetradic
#42D17B #4251D1 #D14298 #D1C342
square
#42D17B #4251D1 #D14298 #D1C342
split-complementary
#42D17B #C342D1 #D14251
monochromatic
#1E7B43 #2AAC5E #42D17B #73DD9D #A4E9C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42D17B#FFFFFF#000000##000000
##42D17B1.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)
#D1C075
Deuteranopia (green-blind)
#BFB381
Tritanopia (blue-blind)
#00CEBC
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #42d17b;
/* rgb */ color: rgb(66, 209, 123);
/* oklch */ color: oklch(76.5% 0.173 152.7);
Tailwind
colors: {
  custom: {
    50: '#87e0a2',
    500: '#42d17b',
    950: '#000000',
  },
}
SCSS
$custom: #42d17b;
$custom-light: #87e0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#42d17b",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 123
  },
  "hsl": {
    "h": 143.916,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7646,
    "c": 0.17256,
    "h": 152.7
  },
  "luminance": 0.48189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #42D17B

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

Preview Lab → · Contrast checker → · Palette generator →

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