#20795B#20795B

#20795B is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.095 H 165.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#20795B
RGBrgb(32, 121, 91)
HSLhsl(160, 58%, 30%)
HSVhsv(160, 74%, 47%)
CMYKcmyk(73.6%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.27, -33.53, 9.09)
CIE-LCHlch(45.27, 34.74, 164.83°)
OKLaboklab(51.64% -0.0926 0.0232)
OKLCHoklch(51.64% 0.095 165.9)
XYZxyz(9.3203, 14.7361, 12.2486)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20795B #79203E
analogous
#20792E #20795B #206B79
triadic
#20795B #5B2079 #795B20
tetradic
#20795B #2E2079 #79203E #6B7920
square
#20795B #2E2079 #79203E #6B7920
split-complementary
#20795B #79206B #792E20
monochromatic
#061812 #134937 #20795B #2DA97F #45CEA0

Accessibility & contrast

On white

5.32
#20795B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20795B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20795B#FFFFFF#000000##FFFFFF
##20795B1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.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: #20795b;
/* rgb */ color: rgb(32, 121, 91);
/* oklch */ color: oklch(51.6% 0.095 165.9);
Tailwind
colors: {
  custom: {
    50: '#69a089',
    500: '#20795b',
    950: '#000000',
  },
}
SCSS
$custom: #20795b;
$custom-light: #69a089;
$custom-dark: #000000;
JSON
{
  "hex": "#20795b",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 159.775,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.09546,
    "h": 165.9
  },
  "luminance": 0.14737
}

Semantic roles & 50–950 ramp

primary
#20795B
secondary
#AC496A
accent
#467BE1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #20795B

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

Preview Lab → · Contrast checker → · Palette generator →

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