#2E796B#2E796B

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

Color values

HEX#2E796B
RGBrgb(46, 121, 107)
HSLhsl(169, 45%, 33%)
HSVhsv(169, 62%, 47%)
CMYKcmyk(62%, 0%, 11.6%, 52.5%)
CIE-LABlab(46.06, -26.72, 0.80)
CIE-LCHlch(46.06, 26.73, 178.28°)
OKLaboklab(52.53% -0.0772 0.0017)
OKLCHoklch(52.53% 0.077 178.7)
XYZxyz(10.6167, 15.3160, 16.3039)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E796B #792E3C
analogous
#2E7945 #2E796B #2E6179
triadic
#2E796B #6B2E79 #796B2E
tetradic
#2E796B #452E79 #792E3C #61792E
square
#2E796B #452E79 #792E3C #61792E
split-complementary
#2E796B #792E61 #79452E
monochromatic
#0C201D #1D4D44 #2E796B #3FA592 #5FC2B0

Accessibility & contrast

On white

5.17
#2E796B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2E796B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E796B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E796B#FFFFFF#000000##FFFFFF
##2E796B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726A
Deuteranopia (green-blind)
#696A6C
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e796b;
/* rgb */ color: rgb(46, 121, 107);
/* oklch */ color: oklch(52.5% 0.077 178.7);
Tailwind
colors: {
  custom: {
    50: '#6fa095',
    500: '#2e796b',
    950: '#000000',
  },
}
SCSS
$custom: #2e796b;
$custom-light: #6fa095;
$custom-dark: #000000;
JSON
{
  "hex": "#2e796b",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 168.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52533,
    "c": 0.07718,
    "h": 178.7
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#2E796B
secondary
#A95A69
accent
#536BD5
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2E796B

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

Preview Lab → · Contrast checker → · Palette generator →

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