#20835F#20835F

#20835F is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.5% C 0.106 H 163.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#20835F
RGBrgb(32, 131, 95)
HSLhsl(158, 61%, 32%)
HSVhsv(158, 76%, 51%)
CMYKcmyk(75.6%, 0%, 27.5%, 48.6%)
CIE-LABlab(48.72, -36.95, 11.59)
CIE-LCHlch(48.72, 38.72, 162.59°)
OKLaboklab(54.5% -0.1014 0.0295)
OKLCHoklch(54.5% 0.106 163.8)
XYZxyz(10.7763, 17.3646, 13.6080)
Luminance0.1737 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20835F #832044
analogous
#20832E #20835F #207683
triadic
#20835F #5F2083 #835F20
tetradic
#20835F #2E2083 #832044 #768320
square
#20835F #2E2083 #832044 #768320
split-complementary
#20835F #832076 #832E20
monochromatic
#082118 #14523B #20835F #2CB483 #4AD3A1

Accessibility & contrast

On white

4.69
#20835F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#20835F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20835F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20835F#FFFFFF#000000##FFFFFF
##20835F1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80795D
Deuteranopia (green-blind)
#747061
Tritanopia (blue-blind)
#008379
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20835f;
/* rgb */ color: rgb(32, 131, 95);
/* oklch */ color: oklch(54.5% 0.106 163.8);
Tailwind
colors: {
  custom: {
    50: '#6ba88c',
    500: '#20835f',
    950: '#000000',
  },
}
SCSS
$custom: #20835f;
$custom-light: #6ba88c;
$custom-dark: #000000;
JSON
{
  "hex": "#20835f",
  "rgb": {
    "r": 32,
    "g": 131,
    "b": 95
  },
  "hsl": {
    "h": 158.182,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.10561,
    "h": 163.8
  },
  "luminance": 0.17366
}

Semantic roles & 50–950 ramp

primary
#20835F
secondary
#B64971
accent
#447EE4
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #20835F

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

Preview Lab → · Contrast checker → · Palette generator →

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