#2D796E#2D796E

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

Color values

HEX#2D796E
RGBrgb(45, 121, 110)
HSLhsl(171, 46%, 33%)
HSVhsv(171, 63%, 47%)
CMYKcmyk(62.8%, 0%, 9.1%, 52.5%)
CIE-LABlab(46.12, -26.09, -0.90)
CIE-LCHlch(46.12, 26.10, 181.98°)
OKLaboklab(52.6% -0.0763 -0.0028)
OKLCHoklch(52.6% 0.076 182.1)
XYZxyz(10.7327, 15.3573, 17.1475)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D796E #792D38
analogous
#2D7948 #2D796E #2D5E79
triadic
#2D796E #6E2D79 #796E2D
tetradic
#2D796E #482D79 #792D38 #5E792D
square
#2D796E #482D79 #792D38 #5E792D
split-complementary
#2D796E #792D5E #79482D
monochromatic
#0C201D #1C4C45 #2D796E #3EA697 #5DC3B4

Accessibility & contrast

On white

5.16
#2D796E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2D796E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D796E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D796E#FFFFFF#000000##FFFFFF
##2D796E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726E
Deuteranopia (green-blind)
#686A6F
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d796e;
/* rgb */ color: rgb(45, 121, 110);
/* oklch */ color: oklch(52.6% 0.076 182.1);
Tailwind
colors: {
  custom: {
    50: '#6fa097',
    500: '#2d796e',
    950: '#000000',
  },
}
SCSS
$custom: #2d796e;
$custom-light: #6fa097;
$custom-dark: #000000;
JSON
{
  "hex": "#2d796e",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 171.316,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52598,
    "c": 0.07633,
    "h": 182.1
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D796E

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

Preview Lab → · Contrast checker → · Palette generator →

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