#2F7166#2F7166

#2F7166 is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.3% C 0.069 H 180.8°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2F7166
RGBrgb(47, 113, 102)
HSLhsl(170, 41%, 31%)
HSVhsv(170, 58%, 44%)
CMYKcmyk(58.4%, 0%, 9.7%, 55.7%)
CIE-LABlab(43.32, -23.86, -0.21)
CIE-LCHlch(43.32, 23.86, 180.50°)
OKLaboklab(50.27% -0.0695 -0.0009)
OKLCHoklch(50.27% 0.069 180.8)
XYZxyz(9.4746, 13.3730, 14.6497)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7166 #712F3A
analogous
#2F7145 #2F7166 #2F5B71
triadic
#2F7166 #662F71 #71662F
tetradic
#2F7166 #452F71 #712F3A #5B712F
square
#2F7166 #452F71 #712F3A #5B712F
split-complementary
#2F7166 #712F5B #71452F
monochromatic
#0B1B18 #1D463F #2F7166 #419C8D #5EBCAC

Accessibility & contrast

On white

5.71
#2F7166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F7166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7166
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7166#FFFFFF#000000##FFFFFF
##2F71661.005.713.675.71
#FFFFFF5.711.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6B66
Deuteranopia (green-blind)
#626367
Tritanopia (blue-blind)
#00736E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7166;
/* rgb */ color: rgb(47, 113, 102);
/* oklch */ color: oklch(50.3% 0.069 180.8);
Tailwind
colors: {
  custom: {
    50: '#6e9a91',
    500: '#2f7166',
    950: '#000000',
  },
}
SCSS
$custom: #2f7166;
$custom-light: #6e9a91;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7166",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 102
  },
  "hsl": {
    "h": 170,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.06949,
    "h": 180.8
  },
  "luminance": 0.13374
}

Semantic roles & 50–950 ramp

primary
#2F7166
secondary
#A25A66
accent
#576BD1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2F7166

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

Preview Lab → · Contrast checker → · Palette generator →

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