#2B796E#2B796E

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

Color values

HEX#2B796E
RGBrgb(43, 121, 110)
HSLhsl(172, 48%, 32%)
HSVhsv(172, 64%, 47%)
CMYKcmyk(64.5%, 0%, 9.1%, 52.5%)
CIE-LABlab(46.06, -26.47, -1.00)
CIE-LCHlch(46.06, 26.49, 182.16°)
OKLaboklab(52.53% -0.0774 -0.0031)
OKLCHoklch(52.53% 0.077 182.3)
XYZxyz(10.6468, 15.3130, 17.1434)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B796E #792B36
analogous
#2B7947 #2B796E #2B5D79
triadic
#2B796E #6E2B79 #796E2B
tetradic
#2B796E #472B79 #792B36 #5D792B
square
#2B796E #472B79 #792B36 #5D792B
split-complementary
#2B796E #792B5D #79472B
monochromatic
#0B1F1C #1B4C45 #2B796E #3BA697 #5AC4B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B796E#FFFFFF#000000##FFFFFF
##2B796E1.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)
#686A6F
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b796e;
/* rgb */ color: rgb(43, 121, 110);
/* oklch */ color: oklch(52.5% 0.077 182.3);
Tailwind
colors: {
  custom: {
    50: '#6ea097',
    500: '#2b796e',
    950: '#000000',
  },
}
SCSS
$custom: #2b796e;
$custom-light: #6ea097;
$custom-dark: #000000;
JSON
{
  "hex": "#2b796e",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 171.538,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52533,
    "c": 0.07749,
    "h": 182.3
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#2B796E
secondary
#AA5662
accent
#5164D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2B796E

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

Preview Lab → · Contrast checker → · Palette generator →

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