#2B796F#2B796F

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

Color values

HEX#2B796F
RGBrgb(43, 121, 111)
HSLhsl(172, 48%, 32%)
HSVhsv(172, 64%, 47%)
CMYKcmyk(64.5%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.09, -26.19, -1.55)
CIE-LCHlch(46.09, 26.23, 183.38°)
OKLaboklab(52.57% -0.0769 -0.0046)
OKLCHoklch(52.57% 0.077 183.4)
XYZxyz(10.7016, 15.3349, 17.4318)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B796F #792B35
analogous
#2B7948 #2B796F #2B5C79
triadic
#2B796F #6F2B79 #796F2B
tetradic
#2B796F #482B79 #792B35 #5C792B
square
#2B796F #482B79 #792B35 #5C792B
split-complementary
#2B796F #792B5C #79482B
monochromatic
#0B1F1C #1B4C46 #2B796F #3BA698 #5AC4B7

Accessibility & contrast

On white

5.16
#2B796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2B796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B796F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B796F#FFFFFF#000000##FFFFFF
##2B796F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b796f;
/* rgb */ color: rgb(43, 121, 111);
/* oklch */ color: oklch(52.6% 0.077 183.4);
Tailwind
colors: {
  custom: {
    50: '#6ea098',
    500: '#2b796f',
    950: '#000000',
  },
}
SCSS
$custom: #2b796f;
$custom-light: #6ea098;
$custom-dark: #000000;
JSON
{
  "hex": "#2b796f",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 172.308,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.07708,
    "h": 183.4
  },
  "luminance": 0.15336
}

Semantic roles & 50–950 ramp

primary
#2B796F
secondary
#AA5660
accent
#5162D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2B796F

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

Preview Lab → · Contrast checker → · Palette generator →

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