#22795C#22795C

#22795C is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.094 H 166.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#22795C
RGBrgb(34, 121, 92)
HSLhsl(160, 56%, 30%)
HSVhsv(160, 72%, 47%)
CMYKcmyk(71.9%, 0%, 24%, 52.5%)
CIE-LABlab(45.34, -32.95, 8.61)
CIE-LCHlch(45.34, 34.05, 165.36°)
OKLaboklab(51.72% -0.0912 0.022)
OKLCHoklch(51.72% 0.094 166.4)
XYZxyz(9.4278, 14.7865, 12.4803)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22795C #79223F
analogous
#227930 #22795C #226A79
triadic
#22795C #5C2279 #795C22
tetradic
#22795C #302279 #79223F #6A7922
square
#22795C #302279 #79223F #6A7922
split-complementary
#22795C #79226A #793022
monochromatic
#071913 #154938 #22795C #2FA980 #49CCA0

Accessibility & contrast

On white

5.31
#22795C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#22795C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22795C
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22795C#FFFFFF#000000##FFFFFF
##22795C1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705A
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #22795c;
/* rgb */ color: rgb(34, 121, 92);
/* oklch */ color: oklch(51.7% 0.094 166.4);
Tailwind
colors: {
  custom: {
    50: '#6aa08a',
    500: '#22795c',
    950: '#000000',
  },
}
SCSS
$custom: #22795c;
$custom-light: #6aa08a;
$custom-dark: #000000;
JSON
{
  "hex": "#22795c",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 160,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.09379,
    "h": 166.4
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#22795C
secondary
#AC4B6B
accent
#487BDF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #22795C

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

Preview Lab → · Contrast checker → · Palette generator →

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