#2F8171#2F8171

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

Color values

HEX#2F8171
RGBrgb(47, 129, 113)
HSLhsl(168, 47%, 35%)
HSVhsv(168, 64%, 51%)
CMYKcmyk(63.6%, 0%, 12.4%, 49.4%)
CIE-LABlab(48.88, -28.81, 1.36)
CIE-LCHlch(48.88, 28.84, 177.30°)
OKLaboklab(54.89% -0.0829 0.0032)
OKLCHoklch(54.89% 0.083 177.8)
XYZxyz(12.0018, 17.4959, 18.3641)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8171 #812F3F
analogous
#2F8148 #2F8171 #2F6881
triadic
#2F8171 #712F81 #81712F
tetradic
#2F8171 #482F81 #812F3F #68812F
square
#2F8171 #482F81 #812F3F #68812F
split-complementary
#2F8171 #812F68 #81482F
monochromatic
#0E2722 #1F544A #2F8171 #3FAE98 #64C6B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8171#FFFFFF#000000##FFFFFF
##2F81711.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)
#7C7970
Deuteranopia (green-blind)
#707072
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2f8171;
/* rgb */ color: rgb(47, 129, 113);
/* oklch */ color: oklch(54.9% 0.083 177.8);
Tailwind
colors: {
  custom: {
    50: '#71a699',
    500: '#2f8171',
    950: '#000000',
  },
}
SCSS
$custom: #2f8171;
$custom-light: #71a699;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8171",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 113
  },
  "hsl": {
    "h": 168.293,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54886,
    "c": 0.08292,
    "h": 177.8
  },
  "luminance": 0.17497
}

Semantic roles & 50–950 ramp

primary
#2F8171
secondary
#AD5E6E
accent
#526BD6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F8171

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

Preview Lab → · Contrast checker → · Palette generator →

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