#2B796A#2B796A

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

Color values

HEX#2B796A
RGBrgb(43, 121, 106)
HSLhsl(168, 48%, 32%)
HSVhsv(168, 64%, 47%)
CMYKcmyk(64.5%, 0%, 12.4%, 52.5%)
CIE-LABlab(45.94, -27.59, 1.21)
CIE-LCHlch(45.94, 27.62, 177.48°)
OKLaboklab(52.4% -0.0794 0.0028)
OKLCHoklch(52.4% 0.079 178)
XYZxyz(10.4339, 15.2278, 16.0223)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B796A #792B3A
analogous
#2B7943 #2B796A #2B6179
triadic
#2B796A #6A2B79 #796A2B
tetradic
#2B796A #432B79 #792B3A #61792B
square
#2B796A #432B79 #792B3A #61792B
split-complementary
#2B796A #792B61 #79432B
monochromatic
#0B1F1B #1B4C42 #2B796A #3BA692 #5AC4B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B796A#FFFFFF#000000##FFFFFF
##2B796A1.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)
#747269
Deuteranopia (green-blind)
#69696B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2b796a;
/* rgb */ color: rgb(43, 121, 106);
/* oklch */ color: oklch(52.4% 0.079 178.0);
Tailwind
colors: {
  custom: {
    50: '#6ea094',
    500: '#2b796a',
    950: '#000000',
  },
}
SCSS
$custom: #2b796a;
$custom-light: #6ea094;
$custom-dark: #000000;
JSON
{
  "hex": "#2b796a",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 168.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52401,
    "c": 0.07946,
    "h": 178
  },
  "luminance": 0.15229
}

Semantic roles & 50–950 ramp

primary
#2B796A
secondary
#AA5666
accent
#516BD7
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2B796A

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

Preview Lab → · Contrast checker → · Palette generator →

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