#2F7E6D#2F7E6D

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

Color values

HEX#2F7E6D
RGBrgb(47, 126, 109)
HSLhsl(167, 46%, 34%)
HSVhsv(167, 63%, 49%)
CMYKcmyk(62.7%, 0%, 13.5%, 50.6%)
CIE-LABlab(47.79, -28.43, 2.13)
CIE-LCHlch(47.79, 28.51, 175.72°)
OKLaboklab(53.96% -0.0814 0.0052)
OKLCHoklch(53.96% 0.082 176.3)
XYZxyz(11.3922, 16.6290, 17.0744)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E6D #7E2F40
analogous
#2F7E46 #2F7E6D #2F687E
triadic
#2F7E6D #6D2F7E #7E6D2F
tetradic
#2F7E6D #462F7E #7E2F40 #687E2F
square
#2F7E6D #462F7E #7E2F40 #687E2F
split-complementary
#2F7E6D #7E2F68 #7E462F
monochromatic
#0E2520 #1E5146 #2F7E6D #40AB94 #63C5B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7E6D#FFFFFF#000000##FFFFFF
##2F7E6D1.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)
#79766C
Deuteranopia (green-blind)
#6E6E6E
Tritanopia (blue-blind)
#008079
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7e6d;
/* rgb */ color: rgb(47, 126, 109);
/* oklch */ color: oklch(54.0% 0.082 176.3);
Tailwind
colors: {
  custom: {
    50: '#71a496',
    500: '#2f7e6d',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e6d;
$custom-light: #71a496;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e6d",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 109
  },
  "hsl": {
    "h": 167.089,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53963,
    "c": 0.08155,
    "h": 176.3
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#2F7E6D
secondary
#AC5D6E
accent
#526FD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2F7E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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