#42987C#42987C

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

Color values

HEX#42987C
RGBrgb(66, 152, 124)
HSLhsl(160, 39%, 43%)
HSVhsv(160, 57%, 60%)
CMYKcmyk(56.6%, 0%, 18.4%, 40.4%)
CIE-LABlab(57.14, -32.94, 6.99)
CIE-LCHlch(57.14, 33.67, 168.02°)
OKLaboklab(61.88% -0.0924 0.0179)
OKLCHoklch(61.88% 0.094 169)
XYZxyz(17.1114, 25.0684, 23.0018)
Luminance0.2507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42987C #98425E
analogous
#429851 #42987C #428998
triadic
#42987C #7C4298 #987C42
tetradic
#42987C #514298 #98425E #899842
square
#42987C #514298 #98425E #899842
split-complementary
#42987C #984289 #985142
monochromatic
#1D4336 #2F6D59 #42987C #5EB99B #89CCB6

Accessibility & contrast

On white

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

On black

6.01
#42987C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42987C
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42987C#FFFFFF#000000##000000
##42987C1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7B
Deuteranopia (green-blind)
#88857E
Tritanopia (blue-blind)
#169990
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #42987c;
/* rgb */ color: rgb(66, 152, 124);
/* oklch */ color: oklch(61.9% 0.094 169.0);
Tailwind
colors: {
  custom: {
    50: '#7eb7a1',
    500: '#42987c',
    950: '#000000',
  },
}
SCSS
$custom: #42987c;
$custom-light: #7eb7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#42987c",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 160.465,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61876,
    "c": 0.09411,
    "h": 169
  },
  "luminance": 0.2507
}

Semantic roles & 50–950 ramp

primary
#42987C
secondary
#B77F91
accent
#587FCF
background
#F8FBF9
surface
#EFF6F2
border
#CAD0CC
text
#0A110F
muted
#7C807E

Preview Lab

Preview with #42987C

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

Preview Lab → · Contrast checker → · Palette generator →

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