#2D786F#2D786F

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

Color values

HEX#2D786F
RGBrgb(45, 120, 111)
HSLhsl(173, 45%, 32%)
HSVhsv(173, 63%, 47%)
CMYKcmyk(62.5%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.82, -25.30, -1.93)
CIE-LCHlch(45.82, 25.37, 184.37°)
OKLaboklab(52.37% -0.0746 -0.0056)
OKLCHoklch(52.37% 0.075 184.3)
XYZxyz(10.6666, 15.1374, 17.3955)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D786F #782D36
analogous
#2D784A #2D786F #2D5C78
triadic
#2D786F #6F2D78 #786F2D
tetradic
#2D786F #4A2D78 #782D36 #5C782D
square
#2D786F #4A2D78 #782D36 #5C782D
split-complementary
#2D786F #782D5C #784A2D
monochromatic
#0C1F1D #1C4B46 #2D786F #3EA598 #5DC2B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D786F#FFFFFF#000000##FFFFFF
##2D786F1.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)
#72716F
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d786f;
/* rgb */ color: rgb(45, 120, 111);
/* oklch */ color: oklch(52.4% 0.075 184.3);
Tailwind
colors: {
  custom: {
    50: '#6f9f98',
    500: '#2d786f',
    950: '#000000',
  },
}
SCSS
$custom: #2d786f;
$custom-light: #6f9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2d786f",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 172.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52366,
    "c": 0.07484,
    "h": 184.3
  },
  "luminance": 0.15139
}

Semantic roles & 50–950 ramp

primary
#2D786F
secondary
#A95862
accent
#5362D5
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2D786F

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

Preview Lab → · Contrast checker → · Palette generator →

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