#2F786B#2F786B

#2F786B is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.075 H 179.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2F786B
RGBrgb(47, 120, 107)
HSLhsl(169, 44%, 33%)
HSVhsv(169, 61%, 47%)
CMYKcmyk(60.8%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.77, -26.01, 0.38)
CIE-LCHlch(45.77, 26.02, 179.17°)
OKLaboklab(52.3% -0.0754 0.0006)
OKLCHoklch(52.3% 0.075 179.6)
XYZxyz(10.5414, 15.0978, 16.2657)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F786B #782F3C
analogous
#2F7846 #2F786B #2F6078
triadic
#2F786B #6B2F78 #786B2F
tetradic
#2F786B #462F78 #782F3C #60782F
square
#2F786B #462F78 #782F3C #60782F
split-complementary
#2F786B #782F60 #78462F
monochromatic
#0D201D #1E4C44 #2F786B #40A492 #60C1B0

Accessibility & contrast

On white

5.22
#2F786B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2F786B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F786B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F786B#FFFFFF#000000##FFFFFF
##2F786B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716A
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2f786b;
/* rgb */ color: rgb(47, 120, 107);
/* oklch */ color: oklch(52.3% 0.075 179.6);
Tailwind
colors: {
  custom: {
    50: '#709f95',
    500: '#2f786b',
    950: '#000000',
  },
}
SCSS
$custom: #2f786b;
$custom-light: #709f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2f786b",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 169.315,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.07537,
    "h": 179.6
  },
  "luminance": 0.15099
}

Semantic roles & 50–950 ramp

primary
#2F786B
secondary
#A85B69
accent
#546BD3
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2F786B

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

Preview Lab → · Contrast checker → · Palette generator →

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