#2A796F#2A796F

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

Color values

HEX#2A796F
RGBrgb(42, 121, 111)
HSLhsl(172, 48%, 32%)
HSVhsv(172, 65%, 47%)
CMYKcmyk(65.3%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.06, -26.38, -1.59)
CIE-LCHlch(46.06, 26.42, 183.46°)
OKLaboklab(52.54% -0.0775 -0.0047)
OKLCHoklch(52.54% 0.078 183.5)
XYZxyz(10.6601, 15.3135, 17.4298)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A796F #792A34
analogous
#2A7948 #2A796F #2A5C79
triadic
#2A796F #6F2A79 #796F2A
tetradic
#2A796F #482A79 #792A34 #5C792A
square
#2A796F #482A79 #792A34 #5C792A
split-complementary
#2A796F #792A5C #79482A
monochromatic
#0A1E1C #1A4C45 #2A796F #3AA699 #58C5B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2a796f;
/* rgb */ color: rgb(42, 121, 111);
/* oklch */ color: oklch(52.5% 0.078 183.5);
Tailwind
colors: {
  custom: {
    50: '#6ea098',
    500: '#2a796f',
    950: '#000000',
  },
}
SCSS
$custom: #2a796f;
$custom-light: #6ea098;
$custom-dark: #000000;
JSON
{
  "hex": "#2a796f",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 172.405,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.07764,
    "h": 183.5
  },
  "luminance": 0.15315
}

Semantic roles & 50–950 ramp

primary
#2A796F
secondary
#AB545F
accent
#5061D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2A796F

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

Preview Lab → · Contrast checker → · Palette generator →

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