#2D786E#2D786E

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

Color values

HEX#2D786E
RGBrgb(45, 120, 110)
HSLhsl(172, 45%, 32%)
HSVhsv(172, 63%, 47%)
CMYKcmyk(62.5%, 0%, 8.3%, 52.9%)
CIE-LABlab(45.79, -25.58, -1.38)
CIE-LCHlch(45.79, 25.62, 183.09°)
OKLaboklab(52.33% -0.0751 -0.0041)
OKLCHoklch(52.33% 0.075 183.2)
XYZxyz(10.6119, 15.1155, 17.1072)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D786E #782D37
analogous
#2D7849 #2D786E #2D5D78
triadic
#2D786E #6E2D78 #786E2D
tetradic
#2D786E #492D78 #782D37 #5D782D
square
#2D786E #492D78 #782D37 #5D782D
split-complementary
#2D786E #782D5D #78492D
monochromatic
#0C1F1C #1C4B45 #2D786E #3EA597 #5DC2B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2d786e;
/* rgb */ color: rgb(45, 120, 110);
/* oklch */ color: oklch(52.3% 0.075 183.2);
Tailwind
colors: {
  custom: {
    50: '#6f9f97',
    500: '#2d786e',
    950: '#000000',
  },
}
SCSS
$custom: #2d786e;
$custom-light: #6f9f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2d786e",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 172,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52332,
    "c": 0.07522,
    "h": 183.2
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#2D786E
secondary
#A95863
accent
#5364D5
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2D786E

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

Preview Lab → · Contrast checker → · Palette generator →

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