#2D786C#2D786C

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

Color values

HEX#2D786C
RGBrgb(45, 120, 108)
HSLhsl(170, 45%, 32%)
HSVhsv(170, 63%, 47%)
CMYKcmyk(62.5%, 0%, 10%, 52.9%)
CIE-LABlab(45.73, -26.15, -0.28)
CIE-LCHlch(45.73, 26.15, 180.61°)
OKLaboklab(52.26% -0.0761 -0.0012)
OKLCHoklch(52.26% 0.076 180.9)
XYZxyz(10.5042, 15.0725, 16.5401)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D786C #782D39
analogous
#2D7847 #2D786C #2D5F78
triadic
#2D786C #6C2D78 #786C2D
tetradic
#2D786C #472D78 #782D39 #5F782D
square
#2D786C #472D78 #782D39 #5F782D
split-complementary
#2D786C #782D5F #78472D
monochromatic
#0C1F1C #1C4B44 #2D786C #3EA594 #5DC2B2

Accessibility & contrast

On white

5.23
#2D786C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2D786C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D786C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D786C#FFFFFF#000000##FFFFFF
##2D786C1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d786c;
/* rgb */ color: rgb(45, 120, 108);
/* oklch */ color: oklch(52.3% 0.076 180.9);
Tailwind
colors: {
  custom: {
    50: '#6f9f96',
    500: '#2d786c',
    950: '#000000',
  },
}
SCSS
$custom: #2d786c;
$custom-light: #6f9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2d786c",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 170.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.07611,
    "h": 180.9
  },
  "luminance": 0.15074
}

Semantic roles & 50–950 ramp

primary
#2D786C
secondary
#A95865
accent
#5368D5
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2D786C

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

Preview Lab → · Contrast checker → · Palette generator →

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