#20795F#20795F

#20795F is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.092 H 169.0°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#20795F
RGBrgb(32, 121, 95)
HSLhsl(162, 58%, 30%)
HSVhsv(162, 74%, 47%)
CMYKcmyk(73.6%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.37, -32.50, 6.87)
CIE-LCHlch(45.37, 33.22, 168.07°)
OKLaboklab(51.75% -0.0905 0.0176)
OKLCHoklch(51.75% 0.092 169)
XYZxyz(9.4975, 14.8069, 13.1817)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20795F #79203A
analogous
#207933 #20795F #206679
triadic
#20795F #5F2079 #795F20
tetradic
#20795F #332079 #79203A #667920
square
#20795F #332079 #79203A #667920
split-complementary
#20795F #792066 #793320
monochromatic
#061813 #134939 #20795F #2DA985 #45CEA6

Accessibility & contrast

On white

5.30
#20795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20795F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20795F#FFFFFF#000000##FFFFFF
##20795F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705E
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #20795f;
/* rgb */ color: rgb(32, 121, 95);
/* oklch */ color: oklch(51.8% 0.092 169.0);
Tailwind
colors: {
  custom: {
    50: '#69a08c',
    500: '#20795f',
    950: '#000000',
  },
}
SCSS
$custom: #20795f;
$custom-light: #69a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#20795f",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 162.472,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.09223,
    "h": 169
  },
  "luminance": 0.14808
}

Semantic roles & 50–950 ramp

primary
#20795F
secondary
#AC4966
accent
#4674E1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #20795F

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

Preview Lab → · Contrast checker → · Palette generator →

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