#2E796A#2E796A

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

Color values

HEX#2E796A
RGBrgb(46, 121, 106)
HSLhsl(168, 45%, 33%)
HSVhsv(168, 62%, 47%)
CMYKcmyk(62%, 0%, 12.4%, 52.5%)
CIE-LABlab(46.04, -26.99, 1.36)
CIE-LCHlch(46.04, 27.03, 177.12°)
OKLaboklab(52.5% -0.0776 0.0032)
OKLCHoklch(52.5% 0.078 177.7)
XYZxyz(10.5644, 15.2951, 16.0284)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E796A #792E3D
analogous
#2E7944 #2E796A #2E6279
triadic
#2E796A #6A2E79 #796A2E
tetradic
#2E796A #442E79 #792E3D #62792E
square
#2E796A #442E79 #792E3D #62792E
split-complementary
#2E796A #792E62 #79442E
monochromatic
#0C201C #1D4D43 #2E796A #3FA591 #5FC2AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E796A#FFFFFF#000000##FFFFFF
##2E796A1.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)
#747269
Deuteranopia (green-blind)
#696A6B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e796a;
/* rgb */ color: rgb(46, 121, 106);
/* oklch */ color: oklch(52.5% 0.078 177.7);
Tailwind
colors: {
  custom: {
    50: '#6fa094',
    500: '#2e796a',
    950: '#000000',
  },
}
SCSS
$custom: #2e796a;
$custom-light: #6fa094;
$custom-dark: #000000;
JSON
{
  "hex": "#2e796a",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 168,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.07772,
    "h": 177.7
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#2E796A
secondary
#A95A6A
accent
#536DD5
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2E796A

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

Preview Lab → · Contrast checker → · Palette generator →

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