#34786F#34786F

#34786F is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.070 H 183.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#34786F
RGBrgb(52, 120, 111)
HSLhsl(172, 40%, 34%)
HSVhsv(172, 57%, 47%)
CMYKcmyk(56.7%, 0%, 7.5%, 52.9%)
CIE-LABlab(46.06, -23.81, -1.56)
CIE-LCHlch(46.06, 23.87, 183.76°)
OKLaboklab(52.62% -0.0702 -0.0046)
OKLCHoklch(52.62% 0.07 183.7)
XYZxyz(11.0006, 15.3097, 17.4112)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34786F #78343D
analogous
#34784D #34786F #345F78
triadic
#34786F #6F3478 #786F34
tetradic
#34786F #4D3478 #78343D #5F7834
square
#34786F #4D3478 #78343D #5F7834
split-complementary
#34786F #78345F #784D34
monochromatic
#0F2320 #214D48 #34786F #47A396 #69BEB3

Accessibility & contrast

On white

5.17
#34786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#34786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34786F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34786F#FFFFFF#000000##FFFFFF
##34786F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#017A75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #34786f;
/* rgb */ color: rgb(52, 120, 111);
/* oklch */ color: oklch(52.6% 0.070 183.7);
Tailwind
colors: {
  custom: {
    50: '#729f98',
    500: '#34786f',
    950: '#000000',
  },
}
SCSS
$custom: #34786f;
$custom-light: #729f98;
$custom-dark: #000000;
JSON
{
  "hex": "#34786f",
  "rgb": {
    "r": 52,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 172.059,
    "s": 39.535,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52621,
    "c": 0.07032,
    "h": 183.7
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#34786F
secondary
#A6626B
accent
#5868CF
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #34786F

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

Preview Lab → · Contrast checker → · Palette generator →

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