#2A796B#2A796B

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

Color values

HEX#2A796B
RGBrgb(42, 121, 107)
HSLhsl(169, 48%, 32%)
HSVhsv(169, 65%, 47%)
CMYKcmyk(65.3%, 0%, 11.6%, 52.5%)
CIE-LABlab(45.94, -27.51, 0.61)
CIE-LCHlch(45.94, 27.52, 178.72°)
OKLaboklab(52.4% -0.0795 0.0012)
OKLCHoklch(52.4% 0.079 179.1)
XYZxyz(10.4448, 15.2274, 16.2958)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A796B #792A38
analogous
#2A7944 #2A796B #2A6079
triadic
#2A796B #6B2A79 #796B2A
tetradic
#2A796B #442A79 #792A38 #60792A
square
#2A796B #442A79 #792A38 #60792A
split-complementary
#2A796B #792A60 #79442A
monochromatic
#0A1E1B #1A4C43 #2A796B #3AA693 #58C5B2

Accessibility & contrast

On white

5.19
#2A796B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A796B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A796B#FFFFFF#000000##FFFFFF
##2A796B1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a796b;
/* rgb */ color: rgb(42, 121, 107);
/* oklch */ color: oklch(52.4% 0.079 179.1);
Tailwind
colors: {
  custom: {
    50: '#6ea095',
    500: '#2a796b',
    950: '#000000',
  },
}
SCSS
$custom: #2a796b;
$custom-light: #6ea095;
$custom-dark: #000000;
JSON
{
  "hex": "#2a796b",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 169.367,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.07949,
    "h": 179.1
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#2A796B
secondary
#AB5463
accent
#5068D8
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2A796B

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

Preview Lab → · Contrast checker → · Palette generator →

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