#2F8172#2F8172

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

Color values

HEX#2F8172
RGBrgb(47, 129, 114)
HSLhsl(169, 47%, 35%)
HSVhsv(169, 64%, 51%)
CMYKcmyk(63.6%, 0%, 11.6%, 49.4%)
CIE-LABlab(48.91, -28.53, 0.81)
CIE-LCHlch(48.91, 28.54, 178.37°)
OKLaboklab(54.92% -0.0824 0.0017)
OKLCHoklch(54.92% 0.082 178.8)
XYZxyz(12.0584, 17.5185, 18.6622)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8172 #812F3E
analogous
#2F8149 #2F8172 #2F6781
triadic
#2F8172 #722F81 #81722F
tetradic
#2F8172 #492F81 #812F3E #67812F
square
#2F8172 #492F81 #812F3E #67812F
split-complementary
#2F8172 #812F67 #81492F
monochromatic
#0E2723 #1F544A #2F8172 #3FAE9A #64C6B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8172#FFFFFF#000000##FFFFFF
##2F81721.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8172;
/* rgb */ color: rgb(47, 129, 114);
/* oklch */ color: oklch(54.9% 0.082 178.8);
Tailwind
colors: {
  custom: {
    50: '#71a69a',
    500: '#2f8172',
    950: '#000000',
  },
}
SCSS
$custom: #2f8172;
$custom-light: #71a69a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8172",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 114
  },
  "hsl": {
    "h": 169.024,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54918,
    "c": 0.08239,
    "h": 178.8
  },
  "luminance": 0.1752
}

Semantic roles & 50–950 ramp

primary
#2F8172
secondary
#AD5E6D
accent
#526AD6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F8172

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

Preview Lab → · Contrast checker → · Palette generator →

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