#42A587#42A587

#42A587 is a light, moderate teal. Relative luminance 0.298; OKLCH L 65.5% C 0.103 H 170.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#42A587
RGBrgb(66, 165, 135)
HSLhsl(162, 43%, 45%)
HSVhsv(162, 60%, 65%)
CMYKcmyk(60%, 0%, 18.2%, 35.3%)
CIE-LABlab(61.49, -36.27, 7.02)
CIE-LCHlch(61.49, 36.95, 169.05°)
OKLaboklab(65.51% -0.1018 0.0179)
OKLCHoklch(65.51% 0.103 170)
XYZxyz(20.0730, 29.8158, 27.6141)
Luminance0.2982 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42A587 #A54260
analogous
#42A555 #42A587 #4291A5
triadic
#42A587 #8742A5 #A58742
tetradic
#42A587 #5542A5 #A54260 #91A542
square
#42A587 #5542A5 #A54260 #91A542
split-complementary
#42A587 #A54291 #A55542
monochromatic
#1F4E3F #317963 #42A587 #63C1A4 #8FD2BE

Accessibility & contrast

On white

3.02
#42A587 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#42A587 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42A587
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42A587#FFFFFF#000000##000000
##42A5871.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19B86
Deuteranopia (green-blind)
#929089
Tritanopia (blue-blind)
#00A69C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #42a587;
/* rgb */ color: rgb(66, 165, 135);
/* oklch */ color: oklch(65.5% 0.103 170.0);
Tailwind
colors: {
  custom: {
    50: '#80c0aa',
    500: '#42a587',
    950: '#000000',
  },
}
SCSS
$custom: #42a587;
$custom-light: #80c0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#42a587",
  "rgb": {
    "r": 66,
    "g": 165,
    "b": 135
  },
  "hsl": {
    "h": 161.818,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.6551,
    "c": 0.10341,
    "h": 170
  },
  "luminance": 0.29818
}

Semantic roles & 50–950 ramp

primary
#42A587
secondary
#BD8596
accent
#557BD3
background
#F8FBFA
surface
#EFF7F4
border
#CAD0CE
text
#0B1210
muted
#7C817F

Preview Lab

Preview with #42A587

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

Preview Lab → · Contrast checker → · Palette generator →

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