#22795B#22795B

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

Color values

HEX#22795B
RGBrgb(34, 121, 91)
HSLhsl(159, 56%, 30%)
HSVhsv(159, 72%, 47%)
CMYKcmyk(71.9%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.32, -33.20, 9.16)
CIE-LCHlch(45.32, 34.44, 164.57°)
OKLaboklab(51.69% -0.0917 0.0234)
OKLCHoklch(51.69% 0.095 165.7)
XYZxyz(9.3844, 14.7691, 12.2516)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22795B #792240
analogous
#22792F #22795B #226B79
triadic
#22795B #5B2279 #795B22
tetradic
#22795B #2F2279 #792240 #6B7922
square
#22795B #2F2279 #792240 #6B7922
split-complementary
#22795B #79226B #792F22
monochromatic
#071913 #154937 #22795B #2FA97F #49CC9F

Accessibility & contrast

On white

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

On black

3.95
#22795B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##22795B#FFFFFF#000000##FFFFFF
##22795B1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767059
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #22795b;
/* rgb */ color: rgb(34, 121, 91);
/* oklch */ color: oklch(51.7% 0.095 165.7);
Tailwind
colors: {
  custom: {
    50: '#6aa089',
    500: '#22795b',
    950: '#000000',
  },
}
SCSS
$custom: #22795b;
$custom-light: #6aa089;
$custom-dark: #000000;
JSON
{
  "hex": "#22795b",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 159.31,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51691,
    "c": 0.09462,
    "h": 165.7
  },
  "luminance": 0.1477
}

Semantic roles & 50–950 ramp

primary
#22795B
secondary
#AC4B6C
accent
#487CDF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #22795B

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

Preview Lab → · Contrast checker → · Palette generator →

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