#20877F#20877F

#20877F is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.5% C 0.090 H 187.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#20877F
RGBrgb(32, 135, 127)
HSLhsl(175, 62%, 33%)
HSVhsv(175, 76%, 53%)
CMYKcmyk(76.3%, 0%, 5.9%, 47.1%)
CIE-LABlab(50.88, -30.08, -3.94)
CIE-LCHlch(50.88, 30.34, 187.47°)
OKLaboklab(56.55% -0.0897 -0.0112)
OKLCHoklch(56.55% 0.09 187.1)
XYZxyz(13.0886, 19.1657, 23.0841)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20877F #872028
analogous
#20874C #20877F #205B87
triadic
#20877F #7F2087 #877F20
tetradic
#20877F #4C2087 #872028 #5B8720
square
#20877F #4C2087 #872028 #5B8720
split-complementary
#20877F #87205B #874C20
monochromatic
#092422 #145650 #20877F #2CB8AE #4DD5CA

Accessibility & contrast

On white

4.34
#20877F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#20877F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20877F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20877F#FFFFFF#000000##000000
##20877F1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7F7F
Deuteranopia (green-blind)
#717580
Tritanopia (blue-blind)
#008A84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #20877f;
/* rgb */ color: rgb(32, 135, 127);
/* oklch */ color: oklch(56.5% 0.090 187.1);
Tailwind
colors: {
  custom: {
    50: '#6eaaa4',
    500: '#20877f',
    950: '#000000',
  },
}
SCSS
$custom: #20877f;
$custom-light: #6eaaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#20877f",
  "rgb": {
    "r": 32,
    "g": 135,
    "b": 127
  },
  "hsl": {
    "h": 175.34,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.09036,
    "h": 187.1
  },
  "luminance": 0.19167
}

Semantic roles & 50–950 ramp

primary
#20877F
secondary
#B84B54
accent
#4350E5
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #20877F

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

Preview Lab → · Contrast checker → · Palette generator →

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