#20845C#20845C

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

Color values

HEX#20845C
RGBrgb(32, 132, 92)
HSLhsl(156, 61%, 32%)
HSVhsv(156, 76%, 52%)
CMYKcmyk(75.8%, 0%, 30.3%, 48.2%)
CIE-LABlab(48.98, -38.09, 13.69)
CIE-LCHlch(48.98, 40.48, 160.23°)
OKLaboklab(54.7% -0.104 0.0348)
OKLCHoklch(54.7% 0.11 161.5)
XYZxyz(10.7776, 17.5810, 12.9486)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20845C #842048
analogous
#20842A #20845C #207A84
triadic
#20845C #5C2084 #845C20
tetradic
#20845C #2A2084 #842048 #7A8420
square
#20845C #2A2084 #842048 #7A8420
split-complementary
#20845C #84207A #842A20
monochromatic
#082117 #14533A #20845C #2CB57E #4BD39D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20845C#FFFFFF#000000##FFFFFF
##20845C1.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)
#827A5A
Deuteranopia (green-blind)
#75715F
Tritanopia (blue-blind)
#008479
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20845c;
/* rgb */ color: rgb(32, 132, 92);
/* oklch */ color: oklch(54.7% 0.110 161.5);
Tailwind
colors: {
  custom: {
    50: '#6ba88a',
    500: '#20845c',
    950: '#000000',
  },
}
SCSS
$custom: #20845c;
$custom-light: #6ba88a;
$custom-dark: #000000;
JSON
{
  "hex": "#20845c",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 92
  },
  "hsl": {
    "h": 156,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54696,
    "c": 0.10964,
    "h": 161.5
  },
  "luminance": 0.17582
}

Semantic roles & 50–950 ramp

primary
#20845C
secondary
#B64A75
accent
#4484E4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #20845C

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

Preview Lab → · Contrast checker → · Palette generator →

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