#2D796F#2D796F

#2D796F is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.076 H 183.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2D796F
RGBrgb(45, 121, 111)
HSLhsl(172, 46%, 33%)
HSVhsv(172, 63%, 47%)
CMYKcmyk(62.8%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.15, -25.80, -1.45)
CIE-LCHlch(46.15, 25.84, 183.22°)
OKLaboklab(52.63% -0.0758 -0.0043)
OKLCHoklch(52.63% 0.076 183.3)
XYZxyz(10.7875, 15.3792, 17.4358)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D796F #792D37
analogous
#2D7949 #2D796F #2D5D79
triadic
#2D796F #6F2D79 #796F2D
tetradic
#2D796F #492D79 #792D37 #5D792D
square
#2D796F #492D79 #792D37 #5D792D
split-complementary
#2D796F #792D5D #79492D
monochromatic
#0C201D #1C4C46 #2D796F #3EA698 #5DC3B6

Accessibility & contrast

On white

5.15
#2D796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2D796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D796F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D796F#FFFFFF#000000##FFFFFF
##2D796F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d796f;
/* rgb */ color: rgb(45, 121, 111);
/* oklch */ color: oklch(52.6% 0.076 183.3);
Tailwind
colors: {
  custom: {
    50: '#6fa098',
    500: '#2d796f',
    950: '#000000',
  },
}
SCSS
$custom: #2d796f;
$custom-light: #6fa098;
$custom-dark: #000000;
JSON
{
  "hex": "#2d796f",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 172.105,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.07591,
    "h": 183.3
  },
  "luminance": 0.1538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D796F

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

Preview Lab → · Contrast checker → · Palette generator →

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