#34987F#34987F

#34987F is a mid, moderate teal. Relative luminance 0.247; OKLCH L 61.5% C 0.100 H 173.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#34987F
RGBrgb(52, 152, 127)
HSLhsl(165, 49%, 40%)
HSVhsv(165, 66%, 60%)
CMYKcmyk(65.8%, 0%, 16.4%, 40.4%)
CIE-LABlab(56.80, -35.01, 4.74)
CIE-LCHlch(56.80, 35.33, 172.29°)
OKLaboklab(61.5% -0.099 0.012)
OKLCHoklch(61.5% 0.1 173.1)
XYZxyz(16.4733, 24.7171, 23.9773)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34987F #98344D
analogous
#34984D #34987F #347F98
triadic
#34987F #7F3498 #987F34
tetradic
#34987F #4D3498 #98344D #7F9834
square
#34987F #4D3498 #98344D #7F9834
split-complementary
#34987F #98347F #984D34
monochromatic
#153D33 #246A59 #34987F #49C1A3 #76D0BA

Accessibility & contrast

On white

3.53
#34987F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#34987F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34987F
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34987F#FFFFFF#000000##000000
##34987F1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#938E7E
Deuteranopia (green-blind)
#858481
Tritanopia (blue-blind)
#009A91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #34987f;
/* rgb */ color: rgb(52, 152, 127);
/* oklch */ color: oklch(61.5% 0.100 173.1);
Tailwind
colors: {
  custom: {
    50: '#78b7a4',
    500: '#34987f',
    950: '#000000',
  },
}
SCSS
$custom: #34987f;
$custom-light: #78b7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#34987f",
  "rgb": {
    "r": 52,
    "g": 152,
    "b": 127
  },
  "hsl": {
    "h": 165,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.09973,
    "h": 173.1
  },
  "luminance": 0.24719
}

Semantic roles & 50–950 ramp

primary
#34987F
secondary
#B96F82
accent
#4F72D9
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#0A110F
muted
#7C807F

Preview Lab

Preview with #34987F

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

Preview Lab → · Contrast checker → · Palette generator →

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