#2F7B79#2F7B79

#2F7B79 is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.6% C 0.074 H 192.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2F7B79
RGBrgb(47, 123, 121)
HSLhsl(178, 45%, 33%)
HSVhsv(178, 62%, 48%)
CMYKcmyk(61.8%, 0%, 1.6%, 51.8%)
CIE-LABlab(47.17, -23.52, -5.87)
CIE-LCHlch(47.17, 24.25, 194.02°)
OKLaboklab(53.58% -0.0721 -0.0163)
OKLCHoklch(53.58% 0.074 192.8)
XYZxyz(11.7049, 16.1495, 20.5858)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B79 #7B2F31
analogous
#2F7B53 #2F7B79 #2F577B
triadic
#2F7B79 #792F7B #7B792F
tetradic
#2F7B79 #532F7B #7B2F31 #577B2F
square
#2F7B79 #532F7B #7B2F31 #577B2F
split-complementary
#2F7B79 #7B2F57 #7B532F
monochromatic
#0D2222 #1E4F4D #2F7B79 #40A7A5 #62C3C0

Accessibility & contrast

On white

4.96
#2F7B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2F7B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B79
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B79#FFFFFF#000000##FFFFFF
##2F7B791.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747579
Deuteranopia (green-blind)
#686C7A
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2f7b79;
/* rgb */ color: rgb(47, 123, 121);
/* oklch */ color: oklch(53.6% 0.074 192.8);
Tailwind
colors: {
  custom: {
    50: '#71a19f',
    500: '#2f7b79',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b79;
$custom-light: #71a19f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b79",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 121
  },
  "hsl": {
    "h": 178.421,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53579,
    "c": 0.07393,
    "h": 192.8
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#2F7B79
secondary
#AA5C5E
accent
#5357D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2F7B79

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

Preview Lab → · Contrast checker → · Palette generator →

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