#2F7E6B#2F7E6B

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

Color values

HEX#2F7E6B
RGBrgb(47, 126, 107)
HSLhsl(166, 46%, 34%)
HSVhsv(166, 63%, 49%)
CMYKcmyk(62.7%, 0%, 15.1%, 50.6%)
CIE-LABlab(47.73, -28.96, 3.23)
CIE-LCHlch(47.73, 29.14, 173.64°)
OKLaboklab(53.9% -0.0824 0.0081)
OKLCHoklch(53.9% 0.083 174.4)
XYZxyz(11.2857, 16.5864, 16.5138)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E6B #7E2F42
analogous
#2F7E44 #2F7E6B #2F6A7E
triadic
#2F7E6B #6B2F7E #7E6B2F
tetradic
#2F7E6B #442F7E #7E2F42 #6A7E2F
square
#2F7E6B #442F7E #7E2F42 #6A7E2F
split-complementary
#2F7E6B #7E2F6A #7E442F
monochromatic
#0E251F #1E5145 #2F7E6B #40AB91 #63C5AD

Accessibility & contrast

On white

4.86
#2F7E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2F7E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E6B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E6B#FFFFFF#000000##FFFFFF
##2F7E6B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7e6b;
/* rgb */ color: rgb(47, 126, 107);
/* oklch */ color: oklch(53.9% 0.083 174.4);
Tailwind
colors: {
  custom: {
    50: '#71a495',
    500: '#2f7e6b',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e6b;
$custom-light: #71a495;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e6b",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 107
  },
  "hsl": {
    "h": 165.57,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.08277,
    "h": 174.4
  },
  "luminance": 0.16588
}

Semantic roles & 50–950 ramp

primary
#2F7E6B
secondary
#AC5D70
accent
#5272D5
background
#F7FAF9
surface
#EDF4F1
border
#C8CECB
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2F7E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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