#2F7170#2F7170

#2F7170 is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.6% C 0.067 H 193.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2F7170
RGBrgb(47, 113, 112)
HSLhsl(179, 41%, 31%)
HSVhsv(179, 58%, 44%)
CMYKcmyk(58.4%, 0%, 0.9%, 55.7%)
CIE-LABlab(43.63, -20.98, -5.77)
CIE-LCHlch(43.63, 21.75, 195.37°)
OKLaboklab(50.62% -0.0646 -0.016)
OKLCHoklch(50.62% 0.067 193.9)
XYZxyz(10.0008, 13.5835, 17.4209)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7170 #712F30
analogous
#2F714F #2F7170 #2F5171
triadic
#2F7170 #702F71 #71702F
tetradic
#2F7170 #4F2F71 #712F30 #51712F
square
#2F7170 #4F2F71 #712F30 #51712F
split-complementary
#2F7170 #712F51 #714F2F
monochromatic
#0B1B1A #1D4645 #2F7170 #419C9B #5EBCBB

Accessibility & contrast

On white

5.65
#2F7170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2F7170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7170
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7170#FFFFFF#000000##FFFFFF
##2F71701.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6C70
Deuteranopia (green-blind)
#5F6471
Tritanopia (blue-blind)
#007470
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7170;
/* rgb */ color: rgb(47, 113, 112);
/* oklch */ color: oklch(50.6% 0.067 193.9);
Tailwind
colors: {
  custom: {
    50: '#6f9a99',
    500: '#2f7170',
    950: '#000000',
  },
}
SCSS
$custom: #2f7170;
$custom-light: #6f9a99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7170",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 112
  },
  "hsl": {
    "h": 179.091,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5062,
    "c": 0.06659,
    "h": 193.9
  },
  "luminance": 0.13584
}

Semantic roles & 50–950 ramp

primary
#2F7170
secondary
#A25A5B
accent
#5759D1
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2F7170

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

Preview Lab → · Contrast checker → · Palette generator →

#2F7170 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva