#2F786E#2F786E

#2F786E is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.074 H 183.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2F786E
RGBrgb(47, 120, 110)
HSLhsl(172, 44%, 33%)
HSVhsv(172, 61%, 47%)
CMYKcmyk(60.8%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.86, -25.18, -1.28)
CIE-LCHlch(45.86, 25.21, 182.92°)
OKLaboklab(52.4% -0.0739 -0.0039)
OKLCHoklch(52.4% 0.074 183)
XYZxyz(10.7020, 15.1620, 17.1114)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F786E #782F39
analogous
#2F7849 #2F786E #2F5D78
triadic
#2F786E #6E2F78 #786E2F
tetradic
#2F786E #492F78 #782F39 #5D782F
square
#2F786E #492F78 #782F39 #5D782F
split-complementary
#2F786E #782F5D #78492F
monochromatic
#0D201D #1E4C46 #2F786E #40A496 #60C1B4

Accessibility & contrast

On white

5.21
#2F786E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F786E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F786E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F786E#FFFFFF#000000##FFFFFF
##2F786E1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716E
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f786e;
/* rgb */ color: rgb(47, 120, 110);
/* oklch */ color: oklch(52.4% 0.074 183.0);
Tailwind
colors: {
  custom: {
    50: '#709f97',
    500: '#2f786e',
    950: '#000000',
  },
}
SCSS
$custom: #2f786e;
$custom-light: #709f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2f786e",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 171.781,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.074,
    "h": 183
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#2F786E
secondary
#A85B65
accent
#5466D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2F786E

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

Preview Lab → · Contrast checker → · Palette generator →

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