#2F7E78#2F7E78

#2F7E78 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.3% C 0.077 H 188.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2F7E78
RGBrgb(47, 126, 120)
HSLhsl(175, 46%, 34%)
HSVhsv(175, 63%, 49%)
CMYKcmyk(62.7%, 0%, 4.8%, 50.6%)
CIE-LABlab(48.11, -25.35, -3.89)
CIE-LCHlch(48.11, 25.65, 188.73°)
OKLaboklab(54.33% -0.076 -0.0109)
OKLCHoklch(54.33% 0.077 188.2)
XYZxyz(12.0218, 16.8809, 20.3904)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E78 #7E2F35
analogous
#2F7E51 #2F7E78 #2F5D7E
triadic
#2F7E78 #782F7E #7E782F
tetradic
#2F7E78 #512F7E #7E2F35 #5D7E2F
square
#2F7E78 #512F7E #7E2F35 #5D7E2F
split-complementary
#2F7E78 #7E2F5D #7E512F
monochromatic
#0E2523 #1E514E #2F7E78 #40ABA2 #63C5BD

Accessibility & contrast

On white

4.80
#2F7E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2F7E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E78
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E78#FFFFFF#000000##FFFFFF
##2F7E781.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#777778
Deuteranopia (green-blind)
#6B6E79
Tritanopia (blue-blind)
#00817C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7e78;
/* rgb */ color: rgb(47, 126, 120);
/* oklch */ color: oklch(54.3% 0.077 188.2);
Tailwind
colors: {
  custom: {
    50: '#71a49e',
    500: '#2f7e78',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e78;
$custom-light: #71a49e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e78",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 120
  },
  "hsl": {
    "h": 175.443,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.07681,
    "h": 188.2
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#2F7E78
secondary
#AC5D63
accent
#525CD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F7E78

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

Preview Lab → · Contrast checker → · Palette generator →

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