#3A877A#3A877A

#3A877A is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.079 H 180.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A877A
RGBrgb(58, 135, 122)
HSLhsl(170, 40%, 38%)
HSVhsv(170, 57%, 53%)
CMYKcmyk(57%, 0%, 9.6%, 47.1%)
CIE-LABlab(51.42, -27.04, -0.16)
CIE-LCHlch(51.42, 27.04, 180.34°)
OKLaboklab(57.13% -0.0787 -0.0009)
OKLCHoklch(57.13% 0.079 180.6)
XYZxyz(13.9202, 19.6313, 21.4642)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A877A #873A47
analogous
#3A8753 #3A877A #3A6D87
triadic
#3A877A #7A3A87 #877A3A
tetradic
#3A877A #533A87 #873A47 #6D873A
square
#3A877A #533A87 #873A47 #6D873A
split-complementary
#3A877A #873A6D #87533A
monochromatic
#15312D #285C53 #3A877A #4CB2A1 #77C5B7

Accessibility & contrast

On white

4.26
#3A877A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3A877A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A877A
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A877A#FFFFFF#000000##000000
##3A877A1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82807A
Deuteranopia (green-blind)
#76777B
Tritanopia (blue-blind)
#008983
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a877a;
/* rgb */ color: rgb(58, 135, 122);
/* oklch */ color: oklch(57.1% 0.079 180.6);
Tailwind
colors: {
  custom: {
    50: '#78aaa0',
    500: '#3a877a',
    950: '#000000',
  },
}
SCSS
$custom: #3a877a;
$custom-light: #78aaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a877a",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 122
  },
  "hsl": {
    "h": 169.87,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57131,
    "c": 0.07872,
    "h": 180.6
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#3A877A
secondary
#AE6F7A
accent
#586CD0
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #3A877A

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

Preview Lab → · Contrast checker → · Palette generator →

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