#34795C#34795C

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

Color values

HEX#34795C
RGBrgb(52, 121, 92)
HSLhsl(155, 40%, 34%)
HSVhsv(155, 57%, 47%)
CMYKcmyk(57%, 0%, 24%, 52.5%)
CIE-LABlab(45.88, -29.22, 9.44)
CIE-LCHlch(45.88, 30.70, 162.10°)
OKLaboklab(52.31% -0.0808 0.0242)
OKLCHoklch(52.31% 0.084 163.4)
XYZxyz(10.1844, 15.1766, 12.5158)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34795C #793451
analogous
#34793A #34795C #347479
triadic
#34795C #5C3479 #795C34
tetradic
#34795C #3A3479 #793451 #747934
square
#34795C #3A3479 #793451 #747934
split-complementary
#34795C #793474 #793A34
monochromatic
#0F231B #224E3B #34795C #46A47D #69BE9B

Accessibility & contrast

On white

5.20
#34795C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#34795C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34795C
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34795C#FFFFFF#000000##FFFFFF
##34795C1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715A
Deuteranopia (green-blind)
#6D6A5E
Tritanopia (blue-blind)
#187971
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #34795c;
/* rgb */ color: rgb(52, 121, 92);
/* oklch */ color: oklch(52.3% 0.084 163.4);
Tailwind
colors: {
  custom: {
    50: '#72a08a',
    500: '#34795c',
    950: '#000000',
  },
}
SCSS
$custom: #34795c;
$custom-light: #72a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#34795c",
  "rgb": {
    "r": 52,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 154.783,
    "s": 39.884,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.08434,
    "h": 163.4
  },
  "luminance": 0.15178
}

Semantic roles & 50–950 ramp

primary
#34795C
secondary
#A7627F
accent
#588AD0
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080F0B
muted
#7B7E7C

Preview Lab

Preview with #34795C

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

Preview Lab → · Contrast checker → · Palette generator →

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