#34795B#34795B

#34795B is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.3% C 0.085 H 162.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#34795B
RGBrgb(52, 121, 91)
HSLhsl(154, 40%, 34%)
HSVhsv(154, 57%, 47%)
CMYKcmyk(57%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.85, -29.45, 9.99)
CIE-LCHlch(45.85, 31.10, 161.26°)
OKLaboklab(52.28% -0.0813 0.0256)
OKLCHoklch(52.28% 0.085 162.5)
XYZxyz(10.1410, 15.1592, 12.2871)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34795B #793452
analogous
#347939 #34795B #347579
triadic
#34795B #5B3479 #795B34
tetradic
#34795B #393479 #793452 #757934
square
#34795B #393479 #793452 #757934
split-complementary
#34795B #793475 #793934
monochromatic
#0F231B #224E3B #34795B #46A47B #69BE99

Accessibility & contrast

On white

5.21
#34795B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#34795B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34795B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34795B#FFFFFF#000000##FFFFFF
##34795B1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777159
Deuteranopia (green-blind)
#6D6A5D
Tritanopia (blue-blind)
#197971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #34795b;
/* rgb */ color: rgb(52, 121, 91);
/* oklch */ color: oklch(52.3% 0.085 162.5);
Tailwind
colors: {
  custom: {
    50: '#72a089',
    500: '#34795b',
    950: '#000000',
  },
}
SCSS
$custom: #34795b;
$custom-light: #72a089;
$custom-dark: #000000;
JSON
{
  "hex": "#34795b",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 153.913,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.08525,
    "h": 162.5
  },
  "luminance": 0.1516
}

Semantic roles & 50–950 ramp

primary
#34795B
secondary
#A76280
accent
#588CD0
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #34795B

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

Preview Lab → · Contrast checker → · Palette generator →

#34795B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva