#2B796C#2B796C

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

Color values

HEX#2B796C
RGBrgb(43, 121, 108)
HSLhsl(170, 48%, 32%)
HSVhsv(170, 64%, 47%)
CMYKcmyk(64.5%, 0%, 10.7%, 52.5%)
CIE-LABlab(46.00, -27.04, 0.11)
CIE-LCHlch(46.00, 27.04, 179.77°)
OKLaboklab(52.47% -0.0784 -0.0002)
OKLCHoklch(52.47% 0.078 180.1)
XYZxyz(10.5391, 15.2699, 16.5764)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B796C #792B38
analogous
#2B7945 #2B796C #2B5F79
triadic
#2B796C #6C2B79 #796C2B
tetradic
#2B796C #452B79 #792B38 #5F792B
square
#2B796C #452B79 #792B38 #5F792B
split-complementary
#2B796C #792B5F #79452B
monochromatic
#0B1F1B #1B4C44 #2B796C #3BA694 #5AC4B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2b796c;
/* rgb */ color: rgb(43, 121, 108);
/* oklch */ color: oklch(52.5% 0.078 180.1);
Tailwind
colors: {
  custom: {
    50: '#6ea096',
    500: '#2b796c',
    950: '#000000',
  },
}
SCSS
$custom: #2b796c;
$custom-light: #6ea096;
$custom-dark: #000000;
JSON
{
  "hex": "#2b796c",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 170,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.07842,
    "h": 180.1
  },
  "luminance": 0.15271
}

Semantic roles & 50–950 ramp

primary
#2B796C
secondary
#AA5664
accent
#5167D7
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2B796C

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

Preview Lab → · Contrast checker → · Palette generator →

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