#42987F#42987F

#42987F is a mid, moderate teal. Relative luminance 0.251; OKLCH L 62.0% C 0.092 H 171.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#42987F
RGBrgb(66, 152, 127)
HSLhsl(163, 39%, 43%)
HSVhsv(163, 57%, 60%)
CMYKcmyk(56.6%, 0%, 16.4%, 40.4%)
CIE-LABlab(57.22, -32.21, 5.40)
CIE-LCHlch(57.22, 32.66, 170.49°)
OKLaboklab(61.96% -0.0909 0.0138)
OKLCHoklch(61.96% 0.092 171.4)
XYZxyz(17.3040, 25.1454, 24.0162)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42987F #98425B
analogous
#429854 #42987F #428698
triadic
#42987F #7F4298 #987F42
tetradic
#42987F #544298 #98425B #869842
square
#42987F #544298 #98425B #869842
split-complementary
#42987F #984286 #985442
monochromatic
#1D4338 #2F6D5B #42987F #5EB99F #89CCB8

Accessibility & contrast

On white

3.48
#42987F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#42987F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42987F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42987F#FFFFFF#000000##000000
##42987F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948F7E
Deuteranopia (green-blind)
#878681
Tritanopia (blue-blind)
#139991
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #42987f;
/* rgb */ color: rgb(66, 152, 127);
/* oklch */ color: oklch(62.0% 0.092 171.4);
Tailwind
colors: {
  custom: {
    50: '#7eb7a4',
    500: '#42987f',
    950: '#000000',
  },
}
SCSS
$custom: #42987f;
$custom-light: #7eb7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#42987f",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 162.558,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.09198,
    "h": 171.4
  },
  "luminance": 0.25147
}

Semantic roles & 50–950 ramp

primary
#42987F
secondary
#B77F8F
accent
#587BCF
background
#F8FBFA
surface
#EFF6F4
border
#CAD0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #42987F

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

Preview Lab → · Contrast checker → · Palette generator →

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