#2F8173#2F8173

#2F8173 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 55.0% C 0.082 H 179.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2F8173
RGBrgb(47, 129, 115)
HSLhsl(170, 47%, 35%)
HSVhsv(170, 64%, 51%)
CMYKcmyk(63.6%, 0%, 10.9%, 49.4%)
CIE-LABlab(48.94, -28.26, 0.27)
CIE-LCHlch(48.94, 28.26, 179.46°)
OKLaboklab(54.95% -0.0819 0.0003)
OKLCHoklch(54.95% 0.082 179.8)
XYZxyz(12.1156, 17.5414, 18.9637)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8173 #812F3D
analogous
#2F814A #2F8173 #2F6681
triadic
#2F8173 #732F81 #81732F
tetradic
#2F8173 #4A2F81 #812F3D #66812F
square
#2F8173 #4A2F81 #812F3D #66812F
split-complementary
#2F8173 #812F66 #814A2F
monochromatic
#0E2723 #1F544B #2F8173 #3FAE9B #64C6B6

Accessibility & contrast

On white

4.66
#2F8173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2F8173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8173
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8173#FFFFFF#000000##FFFFFF
##2F81731.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7972
Deuteranopia (green-blind)
#6F7174
Tritanopia (blue-blind)
#00837D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8173;
/* rgb */ color: rgb(47, 129, 115);
/* oklch */ color: oklch(55.0% 0.082 179.8);
Tailwind
colors: {
  custom: {
    50: '#72a69b',
    500: '#2f8173',
    950: '#000000',
  },
}
SCSS
$custom: #2f8173;
$custom-light: #72a69b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8173",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 115
  },
  "hsl": {
    "h": 169.756,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54951,
    "c": 0.08188,
    "h": 179.8
  },
  "luminance": 0.17543
}

Semantic roles & 50–950 ramp

primary
#2F8173
secondary
#AD5E6C
accent
#5268D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F8173

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

Preview Lab → · Contrast checker → · Palette generator →

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