#3A877B#3A877B

#3A877B is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.2% C 0.078 H 181.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A877B
RGBrgb(58, 135, 123)
HSLhsl(171, 40%, 38%)
HSVhsv(171, 57%, 53%)
CMYKcmyk(57%, 0%, 8.9%, 47.1%)
CIE-LABlab(51.45, -26.77, -0.70)
CIE-LCHlch(51.45, 26.78, 181.50°)
OKLaboklab(57.16% -0.0782 -0.0023)
OKLCHoklch(57.16% 0.078 181.7)
XYZxyz(13.9825, 19.6562, 21.7922)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A877B #873A46
analogous
#3A8754 #3A877B #3A6C87
triadic
#3A877B #7B3A87 #877B3A
tetradic
#3A877B #543A87 #873A46 #6C873A
square
#3A877B #543A87 #873A46 #6C873A
split-complementary
#3A877B #873A6C #87543A
monochromatic
#15312D #285C54 #3A877B #4CB2A2 #77C5B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A877B#FFFFFF#000000##000000
##3A877B1.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)
#81807B
Deuteranopia (green-blind)
#75777C
Tritanopia (blue-blind)
#008983
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a877b;
/* rgb */ color: rgb(58, 135, 123);
/* oklch */ color: oklch(57.2% 0.078 181.7);
Tailwind
colors: {
  custom: {
    50: '#78aaa1',
    500: '#3a877b',
    950: '#000000',
  },
}
SCSS
$custom: #3a877b;
$custom-light: #78aaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a877b",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 170.649,
    "s": 39.896,
    "l": 37.843
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.07827,
    "h": 181.7
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#3A877B
secondary
#AE6F79
accent
#586BD0
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #3A877B

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

Preview Lab → · Contrast checker → · Palette generator →

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