#20795D#20795D

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

Color values

HEX#20795D
RGBrgb(32, 121, 93)
HSLhsl(161, 58%, 30%)
HSVhsv(161, 74%, 47%)
CMYKcmyk(73.6%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.32, -33.02, 7.98)
CIE-LCHlch(45.32, 33.97, 166.41°)
OKLaboklab(51.7% -0.0916 0.0204)
OKLCHoklch(51.7% 0.094 167.4)
XYZxyz(9.4078, 14.7711, 12.7091)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20795D #79203C
analogous
#207931 #20795D #206879
triadic
#20795D #5D2079 #795D20
tetradic
#20795D #312079 #79203C #687920
square
#20795D #312079 #79203C #687920
split-complementary
#20795D #792068 #793120
monochromatic
#061813 #134938 #20795D #2DA982 #45CEA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20795D#FFFFFF#000000##FFFFFF
##20795D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20795d;
/* rgb */ color: rgb(32, 121, 93);
/* oklch */ color: oklch(51.7% 0.094 167.4);
Tailwind
colors: {
  custom: {
    50: '#69a08b',
    500: '#20795d',
    950: '#000000',
  },
}
SCSS
$custom: #20795d;
$custom-light: #69a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#20795d",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 161.124,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51696,
    "c": 0.09382,
    "h": 167.4
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#20795D
secondary
#AC4968
accent
#4677E1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #20795D

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

Preview Lab → · Contrast checker → · Palette generator →

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