#20845E#20845E

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

Color values

HEX#20845E
RGBrgb(32, 132, 94)
HSLhsl(157, 61%, 32%)
HSVhsv(157, 76%, 52%)
CMYKcmyk(75.8%, 0%, 28.8%, 48.2%)
CIE-LABlab(49.03, -37.62, 12.60)
CIE-LCHlch(49.03, 39.67, 161.49°)
OKLaboklab(54.75% -0.103 0.0321)
OKLCHoklch(54.75% 0.108 162.7)
XYZxyz(10.8661, 17.6165, 13.4151)
Luminance0.1762 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20845E #842046
analogous
#20842C #20845E #207884
triadic
#20845E #5E2084 #845E20
tetradic
#20845E #2C2084 #842046 #788420
square
#20845E #2C2084 #842046 #788420
split-complementary
#20845E #842078 #842C20
monochromatic
#082118 #14533B #20845E #2CB581 #4BD3A0

Accessibility & contrast

On white

4.64
#20845E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20845E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20845E#FFFFFF#000000##FFFFFF
##20845E1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A5C
Deuteranopia (green-blind)
#757160
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20845e;
/* rgb */ color: rgb(32, 132, 94);
/* oklch */ color: oklch(54.7% 0.108 162.7);
Tailwind
colors: {
  custom: {
    50: '#6ba88b',
    500: '#20845e',
    950: '#000000',
  },
}
SCSS
$custom: #20845e;
$custom-light: #6ba88b;
$custom-dark: #000000;
JSON
{
  "hex": "#20845e",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 94
  },
  "hsl": {
    "h": 157.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54747,
    "c": 0.10784,
    "h": 162.7
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#20845E
secondary
#B64A73
accent
#4481E4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #20845E

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

Preview Lab → · Contrast checker → · Palette generator →

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