#2F7E6E#2F7E6E

#2F7E6E is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.0% C 0.081 H 177.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2F7E6E
RGBrgb(47, 126, 110)
HSLhsl(168, 46%, 34%)
HSVhsv(168, 63%, 49%)
CMYKcmyk(62.7%, 0%, 12.7%, 50.6%)
CIE-LABlab(47.82, -28.16, 1.58)
CIE-LCHlch(47.82, 28.20, 176.79°)
OKLaboklab(54% -0.0809 0.0038)
OKLCHoklch(54% 0.081 177.3)
XYZxyz(11.4463, 16.6507, 17.3595)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E6E #7E2F3F
analogous
#2F7E47 #2F7E6E #2F677E
triadic
#2F7E6E #6E2F7E #7E6E2F
tetradic
#2F7E6E #472F7E #7E2F3F #677E2F
square
#2F7E6E #472F7E #7E2F3F #677E2F
split-complementary
#2F7E6E #7E2F67 #7E472F
monochromatic
#0E2520 #1E5147 #2F7E6E #40AB95 #63C5B1

Accessibility & contrast

On white

4.85
#2F7E6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2F7E6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E6E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E6E#FFFFFF#000000##FFFFFF
##2F7E6E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79766D
Deuteranopia (green-blind)
#6E6E6F
Tritanopia (blue-blind)
#008079
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7e6e;
/* rgb */ color: rgb(47, 126, 110);
/* oklch */ color: oklch(54.0% 0.081 177.3);
Tailwind
colors: {
  custom: {
    50: '#71a497',
    500: '#2f7e6e',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e6e;
$custom-light: #71a497;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e6e",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 110
  },
  "hsl": {
    "h": 167.848,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.08098,
    "h": 177.3
  },
  "luminance": 0.16652
}

Semantic roles & 50–950 ramp

primary
#2F7E6E
secondary
#AC5D6D
accent
#526DD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2F7E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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