#42D187#42D187

#42D187 is a light, vivid green. Relative luminance 0.485; OKLCH L 76.7% C 0.162 H 156.2°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#42D187
RGBrgb(66, 209, 135)
HSLhsl(149, 61%, 54%)
HSVhsv(149, 68%, 82%)
CMYKcmyk(68.4%, 0%, 35.4%, 18%)
CIE-LABlab(75.14, -54.64, 25.95)
CIE-LCHlch(75.14, 60.49, 154.59°)
OKLaboklab(76.69% -0.148 0.0652)
OKLCHoklch(76.69% 0.162 156.2)
XYZxyz(29.4177, 48.5052, 30.7291)
Luminance0.4851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42D187 #D1428C
analogous
#45D142 #42D187 #42D1CF
triadic
#42D187 #8742D1 #D18742
tetradic
#42D187 #4245D1 #D1428C #D1CF42
square
#42D187 #4245D1 #D1428C #D1CF42
split-complementary
#42D187 #CF42D1 #D14245
monochromatic
#1E7B4B #2AAC69 #42D187 #73DDA6 #A4E9C6

Accessibility & contrast

On white

1.96
#42D187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#42D187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #42D187
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42D187#FFFFFF#000000##000000
##42D1871.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0C182
Deuteranopia (green-blind)
#BEB48C
Tritanopia (blue-blind)
#00CFBE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #42d187;
/* rgb */ color: rgb(66, 209, 135);
/* oklch */ color: oklch(76.7% 0.162 156.2);
Tailwind
colors: {
  custom: {
    50: '#87e0aa',
    500: '#42d187',
    950: '#000000',
  },
}
SCSS
$custom: #42d187;
$custom-light: #87e0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42d187",
  "rgb": {
    "r": 66,
    "g": 209,
    "b": 135
  },
  "hsl": {
    "h": 148.951,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.76691,
    "c": 0.16171,
    "h": 156.2
  },
  "luminance": 0.48508
}

Semantic roles & 50–950 ramp

primary
#42D187
secondary
#D699B8
accent
#4497E4
background
#F9FDFA
surface
#F1FBF4
border
#CBD4CE
text
#0D1510
muted
#7E837F

Preview Lab

Preview with #42D187

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

Preview Lab → · Contrast checker → · Palette generator →

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