#2F8170#2F8170

#2F8170 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.9% C 0.083 H 176.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8170
RGBrgb(47, 129, 112)
HSLhsl(168, 47%, 35%)
HSVhsv(168, 64%, 51%)
CMYKcmyk(63.6%, 0%, 13.2%, 49.4%)
CIE-LABlab(48.85, -29.08, 1.91)
CIE-LCHlch(48.85, 29.14, 176.25°)
OKLaboklab(54.86% -0.0833 0.0046)
OKLCHoklch(54.86% 0.083 176.8)
XYZxyz(11.9458, 17.4735, 18.0693)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8170 #812F40
analogous
#2F8147 #2F8170 #2F6981
triadic
#2F8170 #702F81 #81702F
tetradic
#2F8170 #472F81 #812F40 #69812F
square
#2F8170 #472F81 #812F40 #69812F
split-complementary
#2F8170 #812F69 #81472F
monochromatic
#0E2722 #1F5449 #2F8170 #3FAE97 #64C6B2

Accessibility & contrast

On white

4.67
#2F8170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2F8170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8170
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8170#FFFFFF#000000##FFFFFF
##2F81701.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C796F
Deuteranopia (green-blind)
#707071
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8170;
/* rgb */ color: rgb(47, 129, 112);
/* oklch */ color: oklch(54.9% 0.083 176.8);
Tailwind
colors: {
  custom: {
    50: '#71a699',
    500: '#2f8170',
    950: '#000000',
  },
}
SCSS
$custom: #2f8170;
$custom-light: #71a699;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8170",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 112
  },
  "hsl": {
    "h": 167.561,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.08348,
    "h": 176.8
  },
  "luminance": 0.17475
}

Semantic roles & 50–950 ramp

primary
#2F8170
secondary
#AD5E6F
accent
#526DD6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2F8170

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

Preview Lab → · Contrast checker → · Palette generator →

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