#2F7F70#2F7F70

#2F7F70 is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.3% C 0.081 H 178.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2F7F70
RGBrgb(47, 127, 112)
HSLhsl(169, 46%, 34%)
HSVhsv(169, 63%, 50%)
CMYKcmyk(63%, 0%, 11.8%, 50.2%)
CIE-LABlab(48.20, -28.10, 0.96)
CIE-LCHlch(48.20, 28.12, 178.05°)
OKLaboklab(54.32% -0.081 0.0021)
OKLCHoklch(54.32% 0.081 178.5)
XYZxyz(11.6849, 16.9517, 17.9823)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7F70 #7F2F3E
analogous
#2F7F48 #2F7F70 #2F667F
triadic
#2F7F70 #702F7F #7F702F
tetradic
#2F7F70 #482F7F #7F2F3E #667F2F
square
#2F7F70 #482F7F #7F2F3E #667F2F
split-complementary
#2F7F70 #7F2F66 #7F482F
monochromatic
#0E2621 #1E5249 #2F7F70 #40AC97 #63C5B3

Accessibility & contrast

On white

4.78
#2F7F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2F7F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7F70
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7F70#FFFFFF#000000##FFFFFF
##2F7F701.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A786F
Deuteranopia (green-blind)
#6E6F71
Tritanopia (blue-blind)
#00817A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7f70;
/* rgb */ color: rgb(47, 127, 112);
/* oklch */ color: oklch(54.3% 0.081 178.5);
Tailwind
colors: {
  custom: {
    50: '#71a499',
    500: '#2f7f70',
    950: '#000000',
  },
}
SCSS
$custom: #2f7f70;
$custom-light: #71a499;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7f70",
  "rgb": {
    "r": 47,
    "g": 127,
    "b": 112
  },
  "hsl": {
    "h": 168.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.08108,
    "h": 178.5
  },
  "luminance": 0.16953
}

Semantic roles & 50–950 ramp

primary
#2F7F70
secondary
#AC5E6C
accent
#526BD6
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0D
muted
#7B7F7E

Preview Lab

Preview with #2F7F70

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

Preview Lab → · Contrast checker → · Palette generator →

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