#2B796D#2B796D

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

Color values

HEX#2B796D
RGBrgb(43, 121, 109)
HSLhsl(171, 48%, 32%)
HSVhsv(171, 64%, 47%)
CMYKcmyk(64.5%, 0%, 9.9%, 52.5%)
CIE-LABlab(46.03, -26.76, -0.45)
CIE-LCHlch(46.03, 26.76, 180.95°)
OKLaboklab(52.5% -0.0779 -0.0016)
OKLCHoklch(52.5% 0.078 181.2)
XYZxyz(10.5927, 15.2913, 16.8583)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B796D #792B37
analogous
#2B7946 #2B796D #2B5E79
triadic
#2B796D #6D2B79 #796D2B
tetradic
#2B796D #462B79 #792B37 #5E792B
square
#2B796D #462B79 #792B37 #5E792B
split-complementary
#2B796D #792B5E #79462B
monochromatic
#0B1F1C #1B4C44 #2B796D #3BA696 #5AC4B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B796D#FFFFFF#000000##FFFFFF
##2B796D1.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)
#74726D
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b796d;
/* rgb */ color: rgb(43, 121, 109);
/* oklch */ color: oklch(52.5% 0.078 181.2);
Tailwind
colors: {
  custom: {
    50: '#6ea096',
    500: '#2b796d',
    950: '#000000',
  },
}
SCSS
$custom: #2b796d;
$custom-light: #6ea096;
$custom-dark: #000000;
JSON
{
  "hex": "#2b796d",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 109
  },
  "hsl": {
    "h": 170.769,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.07795,
    "h": 181.2
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#2B796D
secondary
#AA5663
accent
#5165D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2B796D

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

Preview Lab → · Contrast checker → · Palette generator →

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