#42987A#42987A

#42987A is a mid, moderate teal. Relative luminance 0.250; OKLCH L 61.8% C 0.096 H 167.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#42987A
RGBrgb(66, 152, 122)
HSLhsl(159, 39%, 43%)
HSVhsv(159, 57%, 60%)
CMYKcmyk(56.6%, 0%, 19.7%, 40.4%)
CIE-LABlab(57.09, -33.42, 8.06)
CIE-LCHlch(57.09, 34.38, 166.44°)
OKLaboklab(61.82% -0.0934 0.0207)
OKLCHoklch(61.82% 0.096 167.5)
XYZxyz(16.9862, 25.0183, 22.3424)
Luminance0.2502 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42987A #984260
analogous
#42984F #42987A #428B98
triadic
#42987A #7A4298 #987A42
tetradic
#42987A #4F4298 #984260 #8B9842
square
#42987A #4F4298 #984260 #8B9842
split-complementary
#42987A #98428B #984F42
monochromatic
#1D4336 #2F6D58 #42987A #5EB999 #89CCB4

Accessibility & contrast

On white

3.50
#42987A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#42987A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #42987A
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42987A#FFFFFF#000000##000000
##42987A1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958E78
Deuteranopia (green-blind)
#88857C
Tritanopia (blue-blind)
#19998F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #42987a;
/* rgb */ color: rgb(66, 152, 122);
/* oklch */ color: oklch(61.8% 0.096 167.5);
Tailwind
colors: {
  custom: {
    50: '#7eb7a0',
    500: '#42987a',
    950: '#000000',
  },
}
SCSS
$custom: #42987a;
$custom-light: #7eb7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#42987a",
  "rgb": {
    "r": 66,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 159.07,
    "s": 39.45,
    "l": 42.745
  },
  "oklch": {
    "l": 0.6182,
    "c": 0.09562,
    "h": 167.5
  },
  "luminance": 0.2502
}

Semantic roles & 50–950 ramp

primary
#42987A
secondary
#B77F93
accent
#5882CF
background
#F8FBF9
surface
#EFF6F2
border
#CAD0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #42987A

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

Preview Lab → · Contrast checker → · Palette generator →

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