#20795A#20795A

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

Color values

HEX#20795A
RGBrgb(32, 121, 90)
HSLhsl(159, 58%, 30%)
HSVhsv(159, 74%, 47%)
CMYKcmyk(73.6%, 0%, 25.6%, 52.5%)
CIE-LABlab(45.25, -33.78, 9.65)
CIE-LCHlch(45.25, 35.13, 164.06°)
OKLaboklab(51.61% -0.0931 0.0246)
OKLCHoklch(51.61% 0.096 165.2)
XYZxyz(9.2775, 14.7189, 12.0230)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20795A #79203F
analogous
#20792D #20795A #206C79
triadic
#20795A #5A2079 #795A20
tetradic
#20795A #2D2079 #79203F #6C7920
square
#20795A #2D2079 #79203F #6C7920
split-complementary
#20795A #79206C #792D20
monochromatic
#061812 #134936 #20795A #2DA97E #45CE9E

Accessibility & contrast

On white

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

On black

3.94
#20795A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20795A#FFFFFF#000000##FFFFFF
##20795A1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767058
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #20795a;
/* rgb */ color: rgb(32, 121, 90);
/* oklch */ color: oklch(51.6% 0.096 165.2);
Tailwind
colors: {
  custom: {
    50: '#69a088',
    500: '#20795a',
    950: '#000000',
  },
}
SCSS
$custom: #20795a;
$custom-light: #69a088;
$custom-dark: #000000;
JSON
{
  "hex": "#20795a",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 90
  },
  "hsl": {
    "h": 159.101,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51613,
    "c": 0.09632,
    "h": 165.2
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#20795A
secondary
#AC496B
accent
#467CE1
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #20795A

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

Preview Lab → · Contrast checker → · Palette generator →

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