#3A8971#3A8971

#3A8971 is a mid, moderate teal. Relative luminance 0.200; OKLCH L 57.4% C 0.087 H 170.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3A8971
RGBrgb(58, 137, 113)
HSLhsl(162, 41%, 38%)
HSVhsv(162, 58%, 54%)
CMYKcmyk(57.7%, 0%, 17.5%, 46.3%)
CIE-LABlab(51.82, -30.35, 5.64)
CIE-LCHlch(51.82, 30.87, 169.47°)
OKLaboklab(57.38% -0.0854 0.0144)
OKLCHoklch(57.38% 0.087 170.4)
XYZxyz(13.6698, 19.9818, 18.7561)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8971 #893A52
analogous
#3A8949 #3A8971 #3A7989
triadic
#3A8971 #713A89 #89713A
tetradic
#3A8971 #493A89 #893A52 #79893A
square
#3A8971 #493A89 #893A52 #79893A
split-complementary
#3A8971 #893A79 #89493A
monochromatic
#16332A #285E4E #3A8971 #4DB494 #78C6AE

Accessibility & contrast

On white

4.20
#3A8971 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#3A8971 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8971
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8971#FFFFFF#000000##000000
##3A89711.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#858170
Deuteranopia (green-blind)
#7A7873
Tritanopia (blue-blind)
#0E8A82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8971;
/* rgb */ color: rgb(58, 137, 113);
/* oklch */ color: oklch(57.4% 0.087 170.4);
Tailwind
colors: {
  custom: {
    50: '#78ac99',
    500: '#3a8971',
    950: '#000000',
  },
}
SCSS
$custom: #3a8971;
$custom-light: #78ac99;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8971",
  "rgb": {
    "r": 58,
    "g": 137,
    "b": 113
  },
  "hsl": {
    "h": 161.772,
    "s": 40.513,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57375,
    "c": 0.08664,
    "h": 170.4
  },
  "luminance": 0.19983
}

Semantic roles & 50–950 ramp

primary
#3A8971
secondary
#AF7083
accent
#577CD0
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #3A8971

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

Preview Lab → · Contrast checker → · Palette generator →

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