#20795C#20795C

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

Color values

HEX#20795C
RGBrgb(32, 121, 92)
HSLhsl(160, 58%, 30%)
HSVhsv(160, 74%, 47%)
CMYKcmyk(73.6%, 0%, 24%, 52.5%)
CIE-LABlab(45.29, -33.27, 8.54)
CIE-LCHlch(45.29, 34.35, 165.61°)
OKLaboklab(51.67% -0.0921 0.0218)
OKLCHoklch(51.67% 0.095 166.7)
XYZxyz(9.3638, 14.7535, 12.4773)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20795C #79203D
analogous
#20792F #20795C #206A79
triadic
#20795C #5C2079 #795C20
tetradic
#20795C #2F2079 #79203D #6A7920
square
#20795C #2F2079 #79203D #6A7920
split-complementary
#20795C #79206A #792F20
monochromatic
#061812 #134937 #20795C #2DA981 #45CEA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20795C#FFFFFF#000000##FFFFFF
##20795C1.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)
#76705A
Deuteranopia (green-blind)
#6A685E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #20795c;
/* rgb */ color: rgb(32, 121, 92);
/* oklch */ color: oklch(51.7% 0.095 166.7);
Tailwind
colors: {
  custom: {
    50: '#69a08a',
    500: '#20795c',
    950: '#000000',
  },
}
SCSS
$custom: #20795c;
$custom-light: #69a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#20795c",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 160.449,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51668,
    "c": 0.09463,
    "h": 166.7
  },
  "luminance": 0.14755
}

Semantic roles & 50–950 ramp

primary
#20795C
secondary
#AC4969
accent
#4679E1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #20795C

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

Preview Lab → · Contrast checker → · Palette generator →

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