#34877F#34877F

#34877F is a mid, moderate teal. Relative luminance 0.196; OKLCH L 57.1% C 0.081 H 186.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#34877F
RGBrgb(52, 135, 127)
HSLhsl(174, 44%, 37%)
HSVhsv(174, 61%, 53%)
CMYKcmyk(61.5%, 0%, 5.9%, 47.1%)
CIE-LABlab(51.37, -26.90, -3.17)
CIE-LCHlch(51.37, 27.08, 186.72°)
OKLaboklab(57.09% -0.08 -0.009)
OKLCHoklch(57.09% 0.081 186.4)
XYZxyz(13.9092, 19.5889, 23.1226)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34877F #87343C
analogous
#348756 #34877F #346687
triadic
#34877F #7F3487 #877F34
tetradic
#34877F #563487 #87343C #668734
square
#34877F #563487 #87343C #668734
split-complementary
#34877F #873466 #875634
monochromatic
#122F2C #235B55 #34877F #45B3A9 #6EC7BF

Accessibility & contrast

On white

4.27
#34877F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#34877F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34877F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34877F#FFFFFF#000000##000000
##34877F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807F
Deuteranopia (green-blind)
#737680
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #34877f;
/* rgb */ color: rgb(52, 135, 127);
/* oklch */ color: oklch(57.1% 0.081 186.4);
Tailwind
colors: {
  custom: {
    50: '#75aaa4',
    500: '#34877f',
    950: '#000000',
  },
}
SCSS
$custom: #34877f;
$custom-light: #75aaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#34877f",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 174.217,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.08055,
    "h": 186.4
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#34877F
secondary
#AF676E
accent
#5460D4
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#09100F
muted
#7B7F7F

Preview Lab

Preview with #34877F

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

Preview Lab → · Contrast checker → · Palette generator →

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