#2E796C#2E796C

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

Color values

HEX#2E796C
RGBrgb(46, 121, 108)
HSLhsl(170, 45%, 33%)
HSVhsv(170, 62%, 47%)
CMYKcmyk(62%, 0%, 10.7%, 52.5%)
CIE-LABlab(46.09, -26.44, 0.25)
CIE-LCHlch(46.09, 26.44, 179.46°)
OKLaboklab(52.57% -0.0767 0.0002)
OKLCHoklch(52.57% 0.077 179.8)
XYZxyz(10.6696, 15.3372, 16.5825)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E796C #792E3B
analogous
#2E7946 #2E796C #2E6079
triadic
#2E796C #6C2E79 #796C2E
tetradic
#2E796C #462E79 #792E3B #60792E
square
#2E796C #462E79 #792E3B #60792E
split-complementary
#2E796C #792E60 #79462E
monochromatic
#0C201D #1D4D44 #2E796C #3FA594 #5FC2B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E796C#FFFFFF#000000##FFFFFF
##2E796C1.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)
#74726B
Deuteranopia (green-blind)
#696A6D
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e796c;
/* rgb */ color: rgb(46, 121, 108);
/* oklch */ color: oklch(52.6% 0.077 179.8);
Tailwind
colors: {
  custom: {
    50: '#6fa096',
    500: '#2e796c',
    950: '#000000',
  },
}
SCSS
$custom: #2e796c;
$custom-light: #6fa096;
$custom-dark: #000000;
JSON
{
  "hex": "#2e796c",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 169.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.07666,
    "h": 179.8
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#2E796C
secondary
#A95A68
accent
#536AD5
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2E796C

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

Preview Lab → · Contrast checker → · Palette generator →

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