#20815F#20815F

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

Color values

HEX#20815F
RGBrgb(32, 129, 95)
HSLhsl(159, 60%, 32%)
HSVhsv(159, 75%, 51%)
CMYKcmyk(75.2%, 0%, 26.4%, 49.4%)
CIE-LABlab(48.05, -36.08, 10.65)
CIE-LCHlch(48.05, 37.62, 163.55°)
OKLaboklab(53.95% -0.0992 0.0272)
OKLCHoklch(53.95% 0.103 164.7)
XYZxyz(10.5103, 16.8326, 13.5193)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20815F #812042
analogous
#20812F #20815F #207381
triadic
#20815F #5F2081 #815F20
tetradic
#20815F #2F2081 #812042 #738120
square
#20815F #2F2081 #812042 #738120
split-complementary
#20815F #812073 #812F20
monochromatic
#081F17 #14503B #20815F #2CB283 #49D2A2

Accessibility & contrast

On white

4.81
#20815F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#20815F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20815F
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20815F#FFFFFF#000000##FFFFFF
##20815F1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E775D
Deuteranopia (green-blind)
#726E61
Tritanopia (blue-blind)
#008178
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #20815f;
/* rgb */ color: rgb(32, 129, 95);
/* oklch */ color: oklch(53.9% 0.103 164.7);
Tailwind
colors: {
  custom: {
    50: '#6ba68c',
    500: '#20815f',
    950: '#000000',
  },
}
SCSS
$custom: #20815f;
$custom-light: #6ba68c;
$custom-dark: #000000;
JSON
{
  "hex": "#20815f",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 95
  },
  "hsl": {
    "h": 158.969,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5395,
    "c": 0.1029,
    "h": 164.7
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#20815F
secondary
#B4496E
accent
#447CE3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #20815F

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

Preview Lab → · Contrast checker → · Palette generator →

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