#2A796A#2A796A

#2A796A is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.080 H 178.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2A796A
RGBrgb(42, 121, 106)
HSLhsl(169, 48%, 32%)
HSVhsv(169, 65%, 47%)
CMYKcmyk(65.3%, 0%, 12.4%, 52.5%)
CIE-LABlab(45.92, -27.79, 1.17)
CIE-LCHlch(45.92, 27.81, 177.60°)
OKLaboklab(52.37% -0.08 0.0027)
OKLCHoklch(52.37% 0.08 178.1)
XYZxyz(10.3925, 15.2065, 16.0203)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A796A #792A39
analogous
#2A7943 #2A796A #2A6179
triadic
#2A796A #6A2A79 #796A2A
tetradic
#2A796A #432A79 #792A39 #61792A
square
#2A796A #432A79 #792A39 #61792A
split-complementary
#2A796A #792A61 #79432A
monochromatic
#0A1E1A #1A4C42 #2A796A #3AA692 #58C5B0

Accessibility & contrast

On white

5.20
#2A796A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2A796A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A796A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A796A#FFFFFF#000000##FFFFFF
##2A796A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747269
Deuteranopia (green-blind)
#69696B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a796a;
/* rgb */ color: rgb(42, 121, 106);
/* oklch */ color: oklch(52.4% 0.080 178.1);
Tailwind
colors: {
  custom: {
    50: '#6ea094',
    500: '#2a796a',
    950: '#000000',
  },
}
SCSS
$custom: #2a796a;
$custom-light: #6ea094;
$custom-dark: #000000;
JSON
{
  "hex": "#2a796a",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 168.608,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52369,
    "c": 0.08001,
    "h": 178.1
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#2A796A
secondary
#AB5465
accent
#506AD8
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2A796A

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

Preview Lab → · Contrast checker → · Palette generator →

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