#22795F#22795F

#22795F is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.091 H 168.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#22795F
RGBrgb(34, 121, 95)
HSLhsl(162, 56%, 30%)
HSVhsv(162, 72%, 47%)
CMYKcmyk(71.9%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.41, -32.18, 6.94)
CIE-LCHlch(45.41, 32.92, 167.83°)
OKLaboklab(51.8% -0.0896 0.0177)
OKLCHoklch(51.8% 0.091 168.8)
XYZxyz(9.5615, 14.8400, 13.1847)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22795F #79223C
analogous
#227933 #22795F #226779
triadic
#22795F #5F2279 #795F22
tetradic
#22795F #332279 #79223C #677922
square
#22795F #332279 #79223C #677922
split-complementary
#22795F #792267 #793322
monochromatic
#071914 #154939 #22795F #2FA985 #49CCA5

Accessibility & contrast

On white

5.29
#22795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#22795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22795F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22795F#FFFFFF#000000##FFFFFF
##22795F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705E
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #22795f;
/* rgb */ color: rgb(34, 121, 95);
/* oklch */ color: oklch(51.8% 0.091 168.8);
Tailwind
colors: {
  custom: {
    50: '#6aa08c',
    500: '#22795f',
    950: '#000000',
  },
}
SCSS
$custom: #22795f;
$custom-light: #6aa08c;
$custom-dark: #000000;
JSON
{
  "hex": "#22795f",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 162.069,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51803,
    "c": 0.09137,
    "h": 168.8
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#22795F
secondary
#AC4B68
accent
#4876DF
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #22795F

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

Preview Lab → · Contrast checker → · Palette generator →

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