#20845B#20845B

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

Color values

HEX#20845B
RGBrgb(32, 132, 91)
HSLhsl(155, 61%, 32%)
HSVhsv(155, 76%, 52%)
CMYKcmyk(75.8%, 0%, 31.1%, 48.2%)
CIE-LABlab(48.96, -38.33, 14.23)
CIE-LCHlch(48.96, 40.89, 159.63°)
OKLaboklab(54.67% -0.1045 0.0361)
OKLCHoklch(54.67% 0.111 160.9)
XYZxyz(10.7341, 17.5637, 12.7199)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20845B #842049
analogous
#208429 #20845B #207B84
triadic
#20845B #5B2084 #845B20
tetradic
#20845B #292084 #842049 #7B8420
square
#20845B #292084 #842049 #7B8420
split-complementary
#20845B #84207B #842920
monochromatic
#082117 #145339 #20845B #2CB57D #4BD39B

Accessibility & contrast

On white

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

On black

4.51
#20845B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20845B#FFFFFF#000000##FFFFFF
##20845B1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A59
Deuteranopia (green-blind)
#76715E
Tritanopia (blue-blind)
#008479
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20845b;
/* rgb */ color: rgb(32, 132, 91);
/* oklch */ color: oklch(54.7% 0.111 160.9);
Tailwind
colors: {
  custom: {
    50: '#6ba889',
    500: '#20845b',
    950: '#000000',
  },
}
SCSS
$custom: #20845b;
$custom-light: #6ba889;
$custom-dark: #000000;
JSON
{
  "hex": "#20845b",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 91
  },
  "hsl": {
    "h": 155.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.11055,
    "h": 160.9
  },
  "luminance": 0.17565
}

Semantic roles & 50–950 ramp

primary
#20845B
secondary
#B64A76
accent
#4485E4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #20845B

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

Preview Lab → · Contrast checker → · Palette generator →

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