#22794F#22794F

#22794F is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.106 H 157.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#22794F
RGBrgb(34, 121, 79)
HSLhsl(151, 56%, 30%)
HSVhsv(151, 72%, 47%)
CMYKcmyk(71.9%, 0%, 34.7%, 52.5%)
CIE-LABlab(45.05, -36.04, 15.81)
CIE-LCHlch(45.05, 39.36, 156.31°)
OKLaboklab(51.39% -0.0978 0.0399)
OKLCHoklch(51.39% 0.106 157.8)
XYZxyz(8.9075, 14.5783, 9.7401)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22794F #79224C
analogous
#227923 #22794F #227879
triadic
#22794F #4F2279 #794F22
tetradic
#22794F #232279 #79224C #787922
square
#22794F #232279 #79224C #787922
split-complementary
#22794F #792278 #792322
monochromatic
#071911 #154930 #22794F #2FA96E #49CC8D

Accessibility & contrast

On white

5.36
#22794F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#22794F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22794F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22794F#FFFFFF#000000##FFFFFF
##22794F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4C
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #22794f;
/* rgb */ color: rgb(34, 121, 79);
/* oklch */ color: oklch(51.4% 0.106 157.8);
Tailwind
colors: {
  custom: {
    50: '#6aa080',
    500: '#22794f',
    950: '#000000',
  },
}
SCSS
$custom: #22794f;
$custom-light: #6aa080;
$custom-dark: #000000;
JSON
{
  "hex": "#22794f",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 151.034,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51385,
    "c": 0.10566,
    "h": 157.8
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#22794F
secondary
#AC4B7A
accent
#4891DF
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #22794F

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

Preview Lab → · Contrast checker → · Palette generator →

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