#2F7E6A#2F7E6A

#2F7E6A is a mid, moderate teal. Relative luminance 0.166; OKLCH L 53.9% C 0.083 H 173.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2F7E6A
RGBrgb(47, 126, 106)
HSLhsl(165, 46%, 34%)
HSVhsv(165, 63%, 49%)
CMYKcmyk(62.7%, 0%, 15.9%, 50.6%)
CIE-LABlab(47.71, -29.23, 3.78)
CIE-LCHlch(47.71, 29.47, 172.63°)
OKLaboklab(53.87% -0.0829 0.0096)
OKLCHoklch(53.87% 0.083 173.4)
XYZxyz(11.2334, 16.5655, 16.2383)
Luminance0.1657 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E6A #7E2F43
analogous
#2F7E43 #2F7E6A #2F6B7E
triadic
#2F7E6A #6A2F7E #7E6A2F
tetradic
#2F7E6A #432F7E #7E2F43 #6B7E2F
square
#2F7E6A #432F7E #7E2F43 #6B7E2F
split-complementary
#2F7E6A #7E2F6B #7E432F
monochromatic
#0E251F #1E5145 #2F7E6A #40AB8F #63C5AC

Accessibility & contrast

On white

4.87
#2F7E6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2F7E6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E6A
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E6A#FFFFFF#000000##FFFFFF
##2F7E6A1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7669
Deuteranopia (green-blind)
#6E6E6B
Tritanopia (blue-blind)
#007F78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7e6a;
/* rgb */ color: rgb(47, 126, 106);
/* oklch */ color: oklch(53.9% 0.083 173.4);
Tailwind
colors: {
  custom: {
    50: '#71a494',
    500: '#2f7e6a',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e6a;
$custom-light: #71a494;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e6a",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 106
  },
  "hsl": {
    "h": 164.81,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5387,
    "c": 0.08342,
    "h": 173.4
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

primary
#2F7E6A
secondary
#AC5D71
accent
#5274D5
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2F7E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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