#20815C#20815C

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

Color values

HEX#20815C
RGBrgb(32, 129, 92)
HSLhsl(157, 60%, 32%)
HSVhsv(157, 75%, 51%)
CMYKcmyk(75.2%, 0%, 28.7%, 49.4%)
CIE-LABlab(47.98, -36.81, 12.30)
CIE-LCHlch(47.98, 38.81, 161.52°)
OKLaboklab(53.87% -0.1008 0.0313)
OKLCHoklch(53.87% 0.106 162.7)
XYZxyz(10.3766, 16.7791, 12.8150)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20815C #812045
analogous
#20812C #20815C #207681
triadic
#20815C #5C2081 #815C20
tetradic
#20815C #2C2081 #812045 #768120
square
#20815C #2C2081 #812045 #768120
split-complementary
#20815C #812076 #812C20
monochromatic
#081F16 #145039 #20815C #2CB27F #49D29E

Accessibility & contrast

On white

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

On black

4.36
#20815C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20815C#FFFFFF#000000##FFFFFF
##20815C1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F775A
Deuteranopia (green-blind)
#726E5E
Tritanopia (blue-blind)
#008177
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #20815c;
/* rgb */ color: rgb(32, 129, 92);
/* oklch */ color: oklch(53.9% 0.106 162.7);
Tailwind
colors: {
  custom: {
    50: '#6ba68a',
    500: '#20815c',
    950: '#000000',
  },
}
SCSS
$custom: #20815c;
$custom-light: #6ba68a;
$custom-dark: #000000;
JSON
{
  "hex": "#20815c",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 92
  },
  "hsl": {
    "h": 157.113,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53872,
    "c": 0.10553,
    "h": 162.7
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

primary
#20815C
secondary
#B44972
accent
#4481E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #20815C

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

Preview Lab → · Contrast checker → · Palette generator →

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