#42987E#42987E

#42987E is a mid, moderate teal. Relative luminance 0.251; OKLCH L 61.9% C 0.093 H 170.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#42987E
RGBrgb(66, 152, 126)
HSLhsl(162, 39%, 43%)
HSVhsv(162, 57%, 60%)
CMYKcmyk(56.6%, 0%, 17.1%, 40.4%)
CIE-LABlab(57.19, -32.45, 5.93)
CIE-LCHlch(57.19, 32.99, 169.65°)
OKLaboklab(61.93% -0.0914 0.0151)
OKLCHoklch(61.93% 0.093 170.6)
XYZxyz(17.2392, 25.1195, 23.6747)
Luminance0.2512 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42987E #98425C
analogous
#429853 #42987E #428798
triadic
#42987E #7E4298 #987E42
tetradic
#42987E #534298 #98425C #879842
square
#42987E #534298 #98425C #879842
split-complementary
#42987E #984287 #985342
monochromatic
#1D4337 #2F6D5B #42987E #5EB99E #89CCB7

Accessibility & contrast

On white

3.49
#42987E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#42987E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42987E
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42987E#FFFFFF#000000##000000
##42987E1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7D
Deuteranopia (green-blind)
#878580
Tritanopia (blue-blind)
#149990
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #42987e;
/* rgb */ color: rgb(66, 152, 126);
/* oklch */ color: oklch(61.9% 0.093 170.6);
Tailwind
colors: {
  custom: {
    50: '#7eb7a3',
    500: '#42987e',
    950: '#000000',
  },
}
SCSS
$custom: #42987e;
$custom-light: #7eb7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#42987e",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 126
  },
  "hsl": {
    "h": 161.86,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.09268,
    "h": 170.6
  },
  "luminance": 0.25121
}

Semantic roles & 50–950 ramp

primary
#42987E
secondary
#B77F90
accent
#587CCF
background
#F8FBFA
surface
#EFF6F3
border
#CAD0CD
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #42987E

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

Preview Lab → · Contrast checker → · Palette generator →

#42987E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva