#22796B#22796B

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

Color values

HEX#22796B
RGBrgb(34, 121, 107)
HSLhsl(170, 56%, 30%)
HSVhsv(170, 72%, 47%)
CMYKcmyk(71.9%, 0%, 11.6%, 52.5%)
CIE-LABlab(45.74, -28.89, 0.29)
CIE-LCHlch(45.74, 28.90, 179.43°)
OKLaboklab(52.17% -0.0835 0.0003)
OKLCHoklch(52.17% 0.084 179.8)
XYZxyz(10.1496, 15.0752, 16.2820)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22796B #792230
analogous
#22793F #22796B #225B79
triadic
#22796B #6B2279 #796B22
tetradic
#22796B #3F2279 #792230 #5B7922
square
#22796B #3F2279 #792230 #5B7922
split-complementary
#22796B #79225B #793F22
monochromatic
#071917 #154941 #22796B #2FA995 #49CCB7

Accessibility & contrast

On white

5.23
#22796B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #22796B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22796B#FFFFFF#000000##FFFFFF
##22796B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22796b;
/* rgb */ color: rgb(34, 121, 107);
/* oklch */ color: oklch(52.2% 0.084 179.8);
Tailwind
colors: {
  custom: {
    50: '#6ba095',
    500: '#22796b',
    950: '#000000',
  },
}
SCSS
$custom: #22796b;
$custom-light: #6ba095;
$custom-dark: #000000;
JSON
{
  "hex": "#22796b",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 170.345,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52174,
    "c": 0.08355,
    "h": 179.8
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#22796B
secondary
#AC4B5B
accent
#4861DF
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #22796B

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

Preview Lab → · Contrast checker → · Palette generator →

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