#3A796F#3A796F

#3A796F is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.067 H 182.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3A796F
RGBrgb(58, 121, 111)
HSLhsl(170, 35%, 35%)
HSVhsv(170, 52%, 47%)
CMYKcmyk(52.1%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.61, -22.91, -0.73)
CIE-LCHlch(46.61, 22.92, 181.82°)
OKLaboklab(53.13% -0.0671 -0.0023)
OKLCHoklch(53.13% 0.067 182)
XYZxyz(11.4503, 15.7210, 17.4669)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A796F #793A44
analogous
#3A794F #3A796F #3A6479
triadic
#3A796F #6F3A79 #796F3A
tetradic
#3A796F #4F3A79 #793A44 #64793A
square
#3A796F #4F3A79 #793A44 #64793A
split-complementary
#3A796F #793A64 #794F3A
monochromatic
#122623 #265049 #3A796F #4EA295 #72BBB0

Accessibility & contrast

On white

5.07
#3A796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3A796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A796F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A796F#FFFFFF#000000##FFFFFF
##3A796F1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74736F
Deuteranopia (green-blind)
#6A6B70
Tritanopia (blue-blind)
#1A7B76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a796f;
/* rgb */ color: rgb(58, 121, 111);
/* oklch */ color: oklch(53.1% 0.067 182.0);
Tailwind
colors: {
  custom: {
    50: '#76a098',
    500: '#3a796f',
    950: '#000000',
  },
}
SCSS
$custom: #3a796f;
$custom-light: #76a098;
$custom-dark: #000000;
JSON
{
  "hex": "#3a796f",
  "rgb": {
    "r": 58,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 170.476,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.06718,
    "h": 182
  },
  "luminance": 0.15722
}

Semantic roles & 50–950 ramp

primary
#3A796F
secondary
#A56A73
accent
#5D6ECB
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#090E0D
muted
#7B7E7E

Preview Lab

Preview with #3A796F

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

Preview Lab → · Contrast checker → · Palette generator →

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