#20845F#20845F

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

Color values

HEX#20845F
RGBrgb(32, 132, 95)
HSLhsl(158, 61%, 32%)
HSVhsv(158, 76%, 52%)
CMYKcmyk(75.8%, 0%, 28%, 48.2%)
CIE-LABlab(49.05, -37.38, 12.05)
CIE-LCHlch(49.05, 39.28, 162.13°)
OKLaboklab(54.77% -0.1024 0.0307)
OKLCHoklch(54.77% 0.107 163.3)
XYZxyz(10.9113, 17.6345, 13.6530)
Luminance0.1764 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20845F #842045
analogous
#20842D #20845F #207784
triadic
#20845F #5F2084 #845F20
tetradic
#20845F #2D2084 #842045 #778420
square
#20845F #2D2084 #842045 #778420
split-complementary
#20845F #842077 #842D20
monochromatic
#082118 #14533C #20845F #2CB582 #4BD3A1

Accessibility & contrast

On white

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

On black

4.53
#20845F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20845F#FFFFFF#000000##FFFFFF
##20845F1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A5D
Deuteranopia (green-blind)
#757161
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #20845f;
/* rgb */ color: rgb(32, 132, 95);
/* oklch */ color: oklch(54.8% 0.107 163.3);
Tailwind
colors: {
  custom: {
    50: '#6ba88c',
    500: '#20845f',
    950: '#000000',
  },
}
SCSS
$custom: #20845f;
$custom-light: #6ba88c;
$custom-dark: #000000;
JSON
{
  "hex": "#20845f",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 157.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54772,
    "c": 0.10695,
    "h": 163.3
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#20845F
secondary
#B64A72
accent
#447FE4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #20845F

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

Preview Lab → · Contrast checker → · Palette generator →

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