#2A796E#2A796E

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

Color values

HEX#2A796E
RGBrgb(42, 121, 110)
HSLhsl(172, 48%, 32%)
HSVhsv(172, 65%, 47%)
CMYKcmyk(65.3%, 0%, 9.1%, 52.5%)
CIE-LABlab(46.03, -26.66, -1.04)
CIE-LCHlch(46.03, 26.68, 182.24°)
OKLaboklab(52.5% -0.078 -0.0032)
OKLCHoklch(52.5% 0.078 182.4)
XYZxyz(10.6054, 15.2916, 17.1415)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A796E #792A35
analogous
#2A7947 #2A796E #2A5C79
triadic
#2A796E #6E2A79 #796E2A
tetradic
#2A796E #472A79 #792A35 #5C792A
square
#2A796E #472A79 #792A35 #5C792A
split-complementary
#2A796E #792A5C #79472A
monochromatic
#0A1E1B #1A4C45 #2A796E #3AA697 #58C5B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A796E#FFFFFF#000000##FFFFFF
##2A796E1.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)
#73726E
Deuteranopia (green-blind)
#68696F
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a796e;
/* rgb */ color: rgb(42, 121, 110);
/* oklch */ color: oklch(52.5% 0.078 182.4);
Tailwind
colors: {
  custom: {
    50: '#6ea097',
    500: '#2a796e',
    950: '#000000',
  },
}
SCSS
$custom: #2a796e;
$custom-light: #6ea097;
$custom-dark: #000000;
JSON
{
  "hex": "#2a796e",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 171.646,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52501,
    "c": 0.07806,
    "h": 182.4
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#2A796E
secondary
#AB5460
accent
#5063D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2A796E

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

Preview Lab → · Contrast checker → · Palette generator →

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