#2E796F#2E796F

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

Color values

HEX#2E796F
RGBrgb(46, 121, 111)
HSLhsl(172, 45%, 33%)
HSVhsv(172, 62%, 47%)
CMYKcmyk(62%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.18, -25.60, -1.40)
CIE-LCHlch(46.18, 25.64, 183.14°)
OKLaboklab(52.67% -0.0752 -0.0042)
OKLCHoklch(52.67% 0.075 183.2)
XYZxyz(10.8320, 15.4022, 17.4379)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E796F #792E38
analogous
#2E7949 #2E796F #2E5D79
triadic
#2E796F #6F2E79 #796F2E
tetradic
#2E796F #492E79 #792E38 #5D792E
square
#2E796F #492E79 #792E38 #5D792E
split-complementary
#2E796F #792E5D #79492E
monochromatic
#0C201E #1D4D46 #2E796F #3FA598 #5FC2B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E796F#FFFFFF#000000##FFFFFF
##2E796F1.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: #2e796f;
/* rgb */ color: rgb(46, 121, 111);
/* oklch */ color: oklch(52.7% 0.075 183.2);
Tailwind
colors: {
  custom: {
    50: '#70a098',
    500: '#2e796f',
    950: '#000000',
  },
}
SCSS
$custom: #2e796f;
$custom-light: #70a098;
$custom-dark: #000000;
JSON
{
  "hex": "#2e796f",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 172,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.07531,
    "h": 183.2
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E796F

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

Preview Lab → · Contrast checker → · Palette generator →

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