#2E796D#2E796D

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

Color values

HEX#2E796D
RGBrgb(46, 121, 109)
HSLhsl(170, 45%, 33%)
HSVhsv(170, 62%, 47%)
CMYKcmyk(62%, 0%, 9.9%, 52.5%)
CIE-LABlab(46.12, -26.16, -0.30)
CIE-LCHlch(46.12, 26.17, 180.66°)
OKLaboklab(52.6% -0.0762 -0.0012)
OKLCHoklch(52.6% 0.076 180.9)
XYZxyz(10.7231, 15.3586, 16.8644)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E796D #792E3A
analogous
#2E7947 #2E796D #2E5F79
triadic
#2E796D #6D2E79 #796D2E
tetradic
#2E796D #472E79 #792E3A #5F792E
square
#2E796D #472E79 #792E3A #5F792E
split-complementary
#2E796D #792E5F #79472E
monochromatic
#0C201D #1D4D45 #2E796D #3FA595 #5FC2B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E796D#FFFFFF#000000##FFFFFF
##2E796D1.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)
#74726D
Deuteranopia (green-blind)
#686A6E
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e796d;
/* rgb */ color: rgb(46, 121, 109);
/* oklch */ color: oklch(52.6% 0.076 180.9);
Tailwind
colors: {
  custom: {
    50: '#70a096',
    500: '#2e796d',
    950: '#000000',
  },
}
SCSS
$custom: #2e796d;
$custom-light: #70a096;
$custom-dark: #000000;
JSON
{
  "hex": "#2e796d",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 109
  },
  "hsl": {
    "h": 170.4,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.07618,
    "h": 180.9
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#2E796D
secondary
#A95A67
accent
#5368D5
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2E796D

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

Preview Lab → · Contrast checker → · Palette generator →

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