#2F786D#2F786D

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

Color values

HEX#2F786D
RGBrgb(47, 120, 109)
HSLhsl(171, 44%, 33%)
HSVhsv(171, 61%, 47%)
CMYKcmyk(60.8%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.83, -25.46, -0.73)
CIE-LCHlch(45.83, 25.47, 181.64°)
OKLaboklab(52.37% -0.0744 -0.0024)
OKLCHoklch(52.37% 0.074 181.8)
XYZxyz(10.6478, 15.1403, 16.8263)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F786D #782F3A
analogous
#2F7848 #2F786D #2F5E78
triadic
#2F786D #6D2F78 #786D2F
tetradic
#2F786D #482F78 #782F3A #5E782F
square
#2F786D #482F78 #782F3A #5E782F
split-complementary
#2F786D #782F5E #78482F
monochromatic
#0D201D #1E4C45 #2F786D #40A495 #60C1B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F786D#FFFFFF#000000##FFFFFF
##2F786D1.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)
#73716D
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f786d;
/* rgb */ color: rgb(47, 120, 109);
/* oklch */ color: oklch(52.4% 0.074 181.8);
Tailwind
colors: {
  custom: {
    50: '#709f96',
    500: '#2f786d',
    950: '#000000',
  },
}
SCSS
$custom: #2f786d;
$custom-light: #709f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2f786d",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 170.959,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.07443,
    "h": 181.8
  },
  "luminance": 0.15141
}

Semantic roles & 50–950 ramp

primary
#2F786D
secondary
#A85B67
accent
#5467D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2F786D

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

Preview Lab → · Contrast checker → · Palette generator →

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