#34796F#34796F

#34796F is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.071 H 182.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#34796F
RGBrgb(52, 121, 111)
HSLhsl(171, 40%, 34%)
HSVhsv(171, 57%, 47%)
CMYKcmyk(57%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.38, -24.32, -1.09)
CIE-LCHlch(46.38, 24.35, 182.56°)
OKLaboklab(52.88% -0.0714 -0.0033)
OKLCHoklch(52.88% 0.071 182.7)
XYZxyz(11.1215, 15.5514, 17.4515)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34796F #79343E
analogous
#34794D #34796F #346179
triadic
#34796F #6F3479 #796F34
tetradic
#34796F #4D3479 #79343E #617934
square
#34796F #4D3479 #79343E #617934
split-complementary
#34796F #793461 #794D34
monochromatic
#0F2320 #224E48 #34796F #46A496 #69BEB2

Accessibility & contrast

On white

5.11
#34796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#34796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34796F
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34796F#FFFFFF#000000##FFFFFF
##34796F1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74736F
Deuteranopia (green-blind)
#696B70
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #34796f;
/* rgb */ color: rgb(52, 121, 111);
/* oklch */ color: oklch(52.9% 0.071 182.7);
Tailwind
colors: {
  custom: {
    50: '#72a098',
    500: '#34796f',
    950: '#000000',
  },
}
SCSS
$custom: #34796f;
$custom-light: #72a098;
$custom-dark: #000000;
JSON
{
  "hex": "#34796f",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 171.304,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52884,
    "c": 0.07145,
    "h": 182.7
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#34796F
secondary
#A7626C
accent
#5869D0
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #34796F

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

Preview Lab → · Contrast checker → · Palette generator →

#34796F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva