#20795E#20795E

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

Color values

HEX#20795E
RGBrgb(32, 121, 94)
HSLhsl(162, 58%, 30%)
HSVhsv(162, 74%, 47%)
CMYKcmyk(73.6%, 0%, 22.3%, 52.5%)
CIE-LABlab(45.34, -32.76, 7.42)
CIE-LCHlch(45.34, 33.59, 167.23°)
OKLaboklab(51.72% -0.0911 0.019)
OKLCHoklch(51.72% 0.093 168.2)
XYZxyz(9.4523, 14.7889, 12.9439)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20795E #79203B
analogous
#207932 #20795E #206779
triadic
#20795E #5E2079 #795E20
tetradic
#20795E #322079 #79203B #677920
square
#20795E #322079 #79203B #677920
split-complementary
#20795E #792067 #793220
monochromatic
#061813 #134938 #20795E #2DA984 #45CEA5

Accessibility & contrast

On white

5.31
#20795E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#20795E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20795E
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20795E#FFFFFF#000000##FFFFFF
##20795E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705D
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #20795e;
/* rgb */ color: rgb(32, 121, 94);
/* oklch */ color: oklch(51.7% 0.093 168.2);
Tailwind
colors: {
  custom: {
    50: '#69a08b',
    500: '#20795e',
    950: '#000000',
  },
}
SCSS
$custom: #20795e;
$custom-light: #69a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#20795e",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 161.798,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.09301,
    "h": 168.2
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#20795E
secondary
#AC4967
accent
#4675E1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #20795E

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

Preview Lab → · Contrast checker → · Palette generator →

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