#20845D#20845D

#20845D is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.7% C 0.109 H 162.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#20845D
RGBrgb(32, 132, 93)
HSLhsl(157, 61%, 32%)
HSVhsv(157, 76%, 52%)
CMYKcmyk(75.8%, 0%, 29.5%, 48.2%)
CIE-LABlab(49.01, -37.86, 13.14)
CIE-LCHlch(49.01, 40.08, 160.86°)
OKLaboklab(54.72% -0.1035 0.0334)
OKLCHoklch(54.72% 0.109 162.1)
XYZxyz(10.8216, 17.5986, 13.1804)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20845D #842047
analogous
#20842B #20845D #207984
triadic
#20845D #5D2084 #845D20
tetradic
#20845D #2B2084 #842047 #798420
square
#20845D #2B2084 #842047 #798420
split-complementary
#20845D #842079 #842B20
monochromatic
#082118 #14533A #20845D #2CB580 #4BD39E

Accessibility & contrast

On white

4.65
#20845D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#20845D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #20845D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20845D#FFFFFF#000000##FFFFFF
##20845D1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A5B
Deuteranopia (green-blind)
#757160
Tritanopia (blue-blind)
#008479
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20845d;
/* rgb */ color: rgb(32, 132, 93);
/* oklch */ color: oklch(54.7% 0.109 162.1);
Tailwind
colors: {
  custom: {
    50: '#6ba88b',
    500: '#20845d',
    950: '#000000',
  },
}
SCSS
$custom: #20845d;
$custom-light: #6ba88b;
$custom-dark: #000000;
JSON
{
  "hex": "#20845d",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 93
  },
  "hsl": {
    "h": 156.6,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54721,
    "c": 0.10874,
    "h": 162.1
  },
  "luminance": 0.176
}

Semantic roles & 50–950 ramp

primary
#20845D
secondary
#B64A74
accent
#4482E4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #20845D

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

Preview Lab → · Contrast checker → · Palette generator →

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