#2F7F6C#2F7F6C

#2F7F6C is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.2% C 0.083 H 174.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F7F6C
RGBrgb(47, 127, 108)
HSLhsl(166, 46%, 34%)
HSVhsv(166, 63%, 50%)
CMYKcmyk(63%, 0%, 15%, 50.2%)
CIE-LABlab(48.09, -29.18, 3.15)
CIE-LCHlch(48.09, 29.35, 173.83°)
OKLaboklab(54.2% -0.083 0.0079)
OKLCHoklch(54.2% 0.083 174.6)
XYZxyz(11.4672, 16.8646, 16.8353)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F6C #7F2F42
analogous
#2F7F44 #2F7F6C #2F6A7F
triadic
#2F7F6C #6C2F7F #7F6C2F
tetradic
#2F7F6C #442F7F #7F2F42 #6A7F2F
square
#2F7F6C #442F7F #7F2F42 #6A7F2F
split-complementary
#2F7F6C #7F2F6A #7F442F
monochromatic
#0E2620 #1E5246 #2F7F6C #40AC92 #63C5AE

Accessibility & contrast

On white

4.80
#2F7F6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2F7F6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F6C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F6C#FFFFFF#000000##FFFFFF
##2F7F6C1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B776B
Deuteranopia (green-blind)
#6F6F6D
Tritanopia (blue-blind)
#008079
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7f6c;
/* rgb */ color: rgb(47, 127, 108);
/* oklch */ color: oklch(54.2% 0.083 174.6);
Tailwind
colors: {
  custom: {
    50: '#71a496',
    500: '#2f7f6c',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f6c;
$custom-light: #71a496;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f6c",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 108
  },
  "hsl": {
    "h": 165.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.0834,
    "h": 174.6
  },
  "luminance": 0.16866
}

Semantic roles & 50–950 ramp

primary
#2F7F6C
secondary
#AC5E70
accent
#5271D6
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2F7F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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