#22796C#22796C

#22796C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.083 H 180.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#22796C
RGBrgb(34, 121, 108)
HSLhsl(171, 56%, 30%)
HSVhsv(171, 72%, 47%)
CMYKcmyk(71.9%, 0%, 10.7%, 52.5%)
CIE-LABlab(45.77, -28.61, -0.27)
CIE-LCHlch(45.77, 28.61, 180.53°)
OKLaboklab(52.21% -0.083 -0.0012)
OKLCHoklch(52.21% 0.083 180.8)
XYZxyz(10.2025, 15.0964, 16.5606)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22796C #79222F
analogous
#227940 #22796C #225B79
triadic
#22796C #6C2279 #796C22
tetradic
#22796C #402279 #79222F #5B7922
square
#22796C #402279 #79222F #5B7922
split-complementary
#22796C #79225B #794022
monochromatic
#071917 #154941 #22796C #2FA997 #49CCB8

Accessibility & contrast

On white

5.22
#22796C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#22796C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22796C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22796C#FFFFFF#000000##FFFFFF
##22796C1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726C
Deuteranopia (green-blind)
#67696D
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #22796c;
/* rgb */ color: rgb(34, 121, 108);
/* oklch */ color: oklch(52.2% 0.083 180.8);
Tailwind
colors: {
  custom: {
    50: '#6ba096',
    500: '#22796c',
    950: '#000000',
  },
}
SCSS
$custom: #22796c;
$custom-light: #6ba096;
$custom-dark: #000000;
JSON
{
  "hex": "#22796c",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 171.034,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52207,
    "c": 0.08306,
    "h": 180.8
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#22796C
secondary
#AC4B59
accent
#485FDF
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #22796C

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

Preview Lab → · Contrast checker → · Palette generator →

#22796C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva