#22797A#22797A

#22797A is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.079 H 196.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#22797A
RGBrgb(34, 121, 122)
HSLhsl(181, 56%, 31%)
HSVhsv(181, 72%, 48%)
CMYKcmyk(72.1%, 0.8%, 0%, 52.2%)
CIE-LABlab(46.20, -24.39, -7.95)
CIE-LCHlch(46.20, 25.65, 198.05°)
OKLaboklab(52.71% -0.0762 -0.0221)
OKLCHoklch(52.71% 0.079 196.1)
XYZxyz(11.0083, 15.4187, 20.8045)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22797A #7A2322
analogous
#227A4F #22797A #224D7A
triadic
#22797A #7A2279 #797A22
tetradic
#22797A #4F227A #7A2322 #4D7A22
square
#22797A #4F227A #7A2322 #4D7A22
split-complementary
#22797A #7A224D #7A4F22
monochromatic
#071A1A #154A4A #22797A #2FA8AA #4ACBCD

Accessibility & contrast

On white

5.14
#22797A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#22797A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22797A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22797A#FFFFFF#000000##FFFFFF
##22797A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71737A
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#007D79
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #22797a;
/* rgb */ color: rgb(34, 121, 122);
/* oklch */ color: oklch(52.7% 0.079 196.1);
Tailwind
colors: {
  custom: {
    50: '#6ca0a0',
    500: '#22797a',
    950: '#000000',
  },
}
SCSS
$custom: #22797a;
$custom-light: #6ca0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#22797a",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 122
  },
  "hsl": {
    "h": 180.682,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52706,
    "c": 0.07938,
    "h": 196.1
  },
  "luminance": 0.1542
}

Semantic roles & 50–950 ramp

primary
#22797A
secondary
#AD4C4B
accent
#4A48E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #22797A

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

Preview Lab → · Contrast checker → · Palette generator →

#22797A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva