#34795F#34795F

#34795F is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.082 H 165.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#34795F
RGBrgb(52, 121, 95)
HSLhsl(157, 40%, 34%)
HSVhsv(157, 57%, 47%)
CMYKcmyk(57%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.95, -28.50, 7.77)
CIE-LCHlch(45.95, 29.54, 164.75°)
OKLaboklab(52.39% -0.0793 0.0199)
OKLCHoklch(52.39% 0.082 165.9)
XYZxyz(10.3181, 15.2301, 13.2202)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34795F #79344E
analogous
#34793D #34795F #347179
triadic
#34795F #5F3479 #795F34
tetradic
#34795F #3D3479 #79344E #717934
square
#34795F #3D3479 #79344E #717934
split-complementary
#34795F #793471 #793D34
monochromatic
#0F231C #224E3D #34795F #46A481 #69BE9E

Accessibility & contrast

On white

5.19
#34795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#34795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34795F
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34795F#FFFFFF#000000##FFFFFF
##34795F1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715E
Deuteranopia (green-blind)
#6C6A61
Tritanopia (blue-blind)
#167972
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #34795f;
/* rgb */ color: rgb(52, 121, 95);
/* oklch */ color: oklch(52.4% 0.082 165.9);
Tailwind
colors: {
  custom: {
    50: '#72a08c',
    500: '#34795f',
    950: '#000000',
  },
}
SCSS
$custom: #34795f;
$custom-light: #72a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#34795f",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 157.391,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5239,
    "c": 0.08176,
    "h": 165.9
  },
  "luminance": 0.15231
}

Semantic roles & 50–950 ramp

primary
#34795F
secondary
#A7627C
accent
#5885D0
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #34795F

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

Preview Lab → · Contrast checker → · Palette generator →

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