#20785F#20785F

#20785F is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.5% C 0.091 H 169.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#20785F
RGBrgb(32, 120, 95)
HSLhsl(163, 58%, 30%)
HSVhsv(163, 73%, 47%)
CMYKcmyk(73.3%, 0%, 20.8%, 52.9%)
CIE-LABlab(45.03, -32.04, 6.39)
CIE-LCHlch(45.03, 32.67, 168.72°)
OKLaboklab(51.48% -0.0894 0.0163)
OKLCHoklch(51.48% 0.091 169.7)
XYZxyz(9.3766, 14.5652, 13.1414)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20785F #782039
analogous
#207833 #20785F #206578
triadic
#20785F #5F2078 #785F20
tetradic
#20785F #332078 #782039 #657820
square
#20785F #332078 #782039 #657820
split-complementary
#20785F #782065 #783320
monochromatic
#061813 #134839 #20785F #2DA885 #45CDA7

Accessibility & contrast

On white

5.37
#20785F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#20785F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20785F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20785F#FFFFFF#000000##FFFFFF
##20785F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705E
Deuteranopia (green-blind)
#696761
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #20785f;
/* rgb */ color: rgb(32, 120, 95);
/* oklch */ color: oklch(51.5% 0.091 169.7);
Tailwind
colors: {
  custom: {
    50: '#699f8c',
    500: '#20785f',
    950: '#000000',
  },
}
SCSS
$custom: #20785f;
$custom-light: #699f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#20785f",
  "rgb": {
    "r": 32,
    "g": 120,
    "b": 95
  },
  "hsl": {
    "h": 162.955,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51478,
    "c": 0.09092,
    "h": 169.7
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#20785F
secondary
#AB4865
accent
#4773E1
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #20785F

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

Preview Lab → · Contrast checker → · Palette generator →

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