#2A796D#2A796D

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

Color values

HEX#2A796D
RGBrgb(42, 121, 109)
HSLhsl(171, 48%, 32%)
HSVhsv(171, 65%, 47%)
CMYKcmyk(65.3%, 0%, 9.9%, 52.5%)
CIE-LABlab(46.00, -26.95, -0.49)
CIE-LCHlch(46.00, 26.95, 181.04°)
OKLaboklab(52.47% -0.0785 -0.0018)
OKLCHoklch(52.47% 0.079 181.3)
XYZxyz(10.5513, 15.2700, 16.8564)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A796D #792A36
analogous
#2A7946 #2A796D #2A5E79
triadic
#2A796D #6D2A79 #796D2A
tetradic
#2A796D #462A79 #792A36 #5E792A
square
#2A796D #462A79 #792A36 #5E792A
split-complementary
#2A796D #792A5E #79462A
monochromatic
#0A1E1B #1A4C44 #2A796D #3AA696 #58C5B5

Accessibility & contrast

On white

5.18
#2A796D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2A796D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A796D
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A796D#FFFFFF#000000##FFFFFF
##2A796D1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726D
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a796d;
/* rgb */ color: rgb(42, 121, 109);
/* oklch */ color: oklch(52.5% 0.079 181.3);
Tailwind
colors: {
  custom: {
    50: '#6ea096',
    500: '#2a796d',
    950: '#000000',
  },
}
SCSS
$custom: #2a796d;
$custom-light: #6ea096;
$custom-dark: #000000;
JSON
{
  "hex": "#2a796d",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 109
  },
  "hsl": {
    "h": 170.886,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.07851,
    "h": 181.3
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#2A796D
secondary
#AB5461
accent
#5064D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2A796D

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

Preview Lab → · Contrast checker → · Palette generator →

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