#20815B#20815B

#20815B is a mid, moderate teal. Relative luminance 0.168; OKLCH L 53.8% C 0.106 H 162.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#20815B
RGBrgb(32, 129, 91)
HSLhsl(156, 60%, 32%)
HSVhsv(156, 75%, 51%)
CMYKcmyk(75.2%, 0%, 29.5%, 49.4%)
CIE-LABlab(47.96, -37.05, 12.85)
CIE-LCHlch(47.96, 39.21, 160.87°)
OKLaboklab(53.85% -0.1013 0.0327)
OKLCHoklch(53.85% 0.106 162.1)
XYZxyz(10.3332, 16.7617, 12.5862)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20815B #812046
analogous
#20812B #20815B #207781
triadic
#20815B #5B2081 #815B20
tetradic
#20815B #2B2081 #812046 #778120
square
#20815B #2B2081 #812046 #778120
split-complementary
#20815B #812077 #812B20
monochromatic
#081F16 #145038 #20815B #2CB27E #49D29C

Accessibility & contrast

On white

4.82
#20815B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#20815B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20815B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20815B#FFFFFF#000000##FFFFFF
##20815B1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7759
Deuteranopia (green-blind)
#736E5D
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #20815b;
/* rgb */ color: rgb(32, 129, 91);
/* oklch */ color: oklch(53.8% 0.106 162.1);
Tailwind
colors: {
  custom: {
    50: '#6ba689',
    500: '#20815b',
    950: '#000000',
  },
}
SCSS
$custom: #20815b;
$custom-light: #6ba689;
$custom-dark: #000000;
JSON
{
  "hex": "#20815b",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 91
  },
  "hsl": {
    "h": 156.495,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.10642,
    "h": 162.1
  },
  "luminance": 0.16763
}

Semantic roles & 50–950 ramp

primary
#20815B
secondary
#B44973
accent
#4483E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #20815B

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

Preview Lab → · Contrast checker → · Palette generator →

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