#3A987A#3A987A

#3A987A is a mid, moderate teal. Relative luminance 0.248; OKLCH L 61.5% C 0.100 H 168.7°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3A987A
RGBrgb(58, 152, 122)
HSLhsl(161, 45%, 41%)
HSVhsv(161, 62%, 60%)
CMYKcmyk(61.8%, 0%, 19.7%, 40.4%)
CIE-LABlab(56.84, -35.13, 7.66)
CIE-LCHlch(56.84, 35.96, 167.70°)
OKLaboklab(61.54% -0.0982 0.0196)
OKLCHoklch(61.54% 0.1 168.7)
XYZxyz(16.4843, 24.7595, 22.3189)
Luminance0.2476 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A987A #983A58
analogous
#3A984B #3A987A #3A8798
triadic
#3A987A #7A3A98 #987A3A
tetradic
#3A987A #4B3A98 #983A58 #87983A
square
#3A987A #4B3A98 #983A58 #87983A
split-complementary
#3A987A #983A87 #984B3A
monochromatic
#183F33 #296C56 #3A987A #52BD9B #7ECEB5

Accessibility & contrast

On white

3.53
#3A987A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#3A987A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A987A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A987A#FFFFFF#000000##000000
##3A987A1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E78
Deuteranopia (green-blind)
#87847C
Tritanopia (blue-blind)
#00998F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #3a987a;
/* rgb */ color: rgb(58, 152, 122);
/* oklch */ color: oklch(61.5% 0.100 168.7);
Tailwind
colors: {
  custom: {
    50: '#7ab7a0',
    500: '#3a987a',
    950: '#000000',
  },
}
SCSS
$custom: #3a987a;
$custom-light: #7ab7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a987a",
  "rgb": {
    "r": 58,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 160.851,
    "s": 44.762,
    "l": 41.176
  },
  "oklch": {
    "l": 0.61542,
    "c": 0.10014,
    "h": 168.7
  },
  "luminance": 0.24761
}

Semantic roles & 50–950 ramp

primary
#3A987A
secondary
#B8768B
accent
#537DD4
background
#F7FBF9
surface
#EEF6F2
border
#C9D0CC
text
#0A110E
muted
#7C807E

Preview Lab

Preview with #3A987A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A987A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva