#2D796A#2D796A

#2D796A is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.078 H 177.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2D796A
RGBrgb(45, 121, 106)
HSLhsl(168, 46%, 33%)
HSVhsv(168, 63%, 47%)
CMYKcmyk(62.8%, 0%, 12.4%, 52.5%)
CIE-LABlab(46.00, -27.20, 1.31)
CIE-LCHlch(46.00, 27.23, 177.25°)
OKLaboklab(52.47% -0.0782 0.003)
OKLCHoklch(52.47% 0.078 177.8)
XYZxyz(10.5199, 15.2722, 16.0263)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D796A #792D3C
analogous
#2D7944 #2D796A #2D6279
triadic
#2D796A #6A2D79 #796A2D
tetradic
#2D796A #442D79 #792D3C #62792D
square
#2D796A #442D79 #792D3C #62792D
split-complementary
#2D796A #792D62 #79442D
monochromatic
#0C201C #1C4C43 #2D796A #3EA691 #5DC3AF

Accessibility & contrast

On white

5.18
#2D796A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2D796A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D796A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D796A#FFFFFF#000000##FFFFFF
##2D796A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747269
Deuteranopia (green-blind)
#696A6B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d796a;
/* rgb */ color: rgb(45, 121, 106);
/* oklch */ color: oklch(52.5% 0.078 177.8);
Tailwind
colors: {
  custom: {
    50: '#6fa094',
    500: '#2d796a',
    950: '#000000',
  },
}
SCSS
$custom: #2d796a;
$custom-light: #6fa094;
$custom-dark: #000000;
JSON
{
  "hex": "#2d796a",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 168.158,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.07831,
    "h": 177.8
  },
  "luminance": 0.15273
}

Semantic roles & 50–950 ramp

primary
#2D796A
secondary
#A95868
accent
#526CD5
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2D796A

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

Preview Lab → · Contrast checker → · Palette generator →

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