#2D786D#2D786D

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

Color values

HEX#2D786D
RGBrgb(45, 120, 109)
HSLhsl(171, 45%, 32%)
HSVhsv(171, 63%, 47%)
CMYKcmyk(62.5%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.76, -25.87, -0.83)
CIE-LCHlch(45.76, 25.88, 181.84°)
OKLaboklab(52.3% -0.0756 -0.0026)
OKLCHoklch(52.3% 0.076 182)
XYZxyz(10.5577, 15.0939, 16.8220)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D786D #782D38
analogous
#2D7848 #2D786D #2D5E78
triadic
#2D786D #6D2D78 #786D2D
tetradic
#2D786D #482D78 #782D38 #5E782D
square
#2D786D #482D78 #782D38 #5E782D
split-complementary
#2D786D #782D5E #78482D
monochromatic
#0C1F1C #1C4B45 #2D786D #3EA595 #5DC2B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D786D#FFFFFF#000000##FFFFFF
##2D786D1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d786d;
/* rgb */ color: rgb(45, 120, 109);
/* oklch */ color: oklch(52.3% 0.076 182.0);
Tailwind
colors: {
  custom: {
    50: '#6f9f96',
    500: '#2d786d',
    950: '#000000',
  },
}
SCSS
$custom: #2d786d;
$custom-light: #6f9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2d786d",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 171.2,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52298,
    "c": 0.07565,
    "h": 182
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#2D786D
secondary
#A95864
accent
#5366D5
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2D786D

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

Preview Lab → · Contrast checker → · Palette generator →

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