#2F7F74#2F7F74

#2F7F74 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.5% C 0.079 H 182.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2F7F74
RGBrgb(47, 127, 116)
HSLhsl(172, 46%, 34%)
HSVhsv(172, 63%, 50%)
CMYKcmyk(63%, 0%, 8.7%, 50.2%)
CIE-LABlab(48.31, -26.99, -1.23)
CIE-LCHlch(48.31, 27.02, 182.61°)
OKLaboklab(54.46% -0.0791 -0.0037)
OKLCHoklch(54.46% 0.079 182.7)
XYZxyz(11.9126, 17.0428, 19.1814)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F74 #7F2F3A
analogous
#2F7F4C #2F7F74 #2F627F
triadic
#2F7F74 #742F7F #7F742F
tetradic
#2F7F74 #4C2F7F #7F2F3A #627F2F
square
#2F7F74 #4C2F7F #7F2F3A #627F2F
split-complementary
#2F7F74 #7F2F62 #7F4C2F
monochromatic
#0E2622 #1E524B #2F7F74 #40AC9D #63C5B8

Accessibility & contrast

On white

4.76
#2F7F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2F7F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F74
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F74#FFFFFF#000000##FFFFFF
##2F7F741.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797874
Deuteranopia (green-blind)
#6D6F75
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f7f74;
/* rgb */ color: rgb(47, 127, 116);
/* oklch */ color: oklch(54.5% 0.079 182.7);
Tailwind
colors: {
  custom: {
    50: '#71a49c',
    500: '#2f7f74',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f74;
$custom-light: #71a49c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f74",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 116
  },
  "hsl": {
    "h": 171.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.07919,
    "h": 182.7
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#2F7F74
secondary
#AC5E68
accent
#5264D6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F7F74

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

Preview Lab → · Contrast checker → · Palette generator →

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