#42A387#42A387

#42A387 is a light, moderate teal. Relative luminance 0.291; OKLCH L 65.0% C 0.101 H 171.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#42A387
RGBrgb(66, 163, 135)
HSLhsl(163, 42%, 45%)
HSVhsv(163, 60%, 64%)
CMYKcmyk(59.5%, 0%, 17.2%, 36.1%)
CIE-LABlab(60.87, -35.36, 6.12)
CIE-LCHlch(60.87, 35.88, 170.18°)
OKLaboklab(65% -0.0996 0.0156)
OKLCHoklch(65% 0.101 171.1)
XYZxyz(19.7151, 29.0999, 27.4948)
Luminance0.2910 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A387 #A3425E
analogous
#42A356 #42A387 #428FA3
triadic
#42A387 #8742A3 #A38742
tetradic
#42A387 #5642A3 #A3425E #8FA342
square
#42A387 #5642A3 #A3425E #8FA342
split-complementary
#42A387 #A3428F #A35642
monochromatic
#1F4C3F #307763 #42A387 #63C0A5 #8ED1BE

Accessibility & contrast

On white

3.08
#42A387 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#42A387 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A387
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A387#FFFFFF#000000##000000
##42A3871.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9986
Deuteranopia (green-blind)
#908F89
Tritanopia (blue-blind)
#00A49B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #42a387;
/* rgb */ color: rgb(66, 163, 135);
/* oklch */ color: oklch(65.0% 0.101 171.1);
Tailwind
colors: {
  custom: {
    50: '#80bfaa',
    500: '#42a387',
    950: '#000000',
  },
}
SCSS
$custom: #42a387;
$custom-light: #80bfaa;
$custom-dark: #000000;
JSON
{
  "hex": "#42a387",
  "rgb": {
    "r": 66,
    "g": 163,
    "b": 135
  },
  "hsl": {
    "h": 162.68,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.65,
    "c": 0.10083,
    "h": 171.1
  },
  "luminance": 0.29102
}

Semantic roles & 50–950 ramp

primary
#42A387
secondary
#BC8495
accent
#567AD2
background
#F8FBFA
surface
#EFF7F4
border
#CAD0CE
text
#0B1210
muted
#7C817F

Preview Lab

Preview with #42A387

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

Preview Lab → · Contrast checker → · Palette generator →

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