#20794E#20794E

#20794E is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.3% C 0.107 H 157.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#20794E
RGBrgb(32, 121, 78)
HSLhsl(151, 58%, 30%)
HSVhsv(151, 74%, 47%)
CMYKcmyk(73.6%, 0%, 35.5%, 52.5%)
CIE-LABlab(44.98, -36.61, 16.30)
CIE-LCHlch(44.98, 40.07, 156.00°)
OKLaboklab(51.31% -0.0993 0.0411)
OKLCHoklch(51.31% 0.107 157.5)
XYZxyz(8.8073, 14.5309, 9.5468)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20794E #79204B
analogous
#207921 #20794E #207879
triadic
#20794E #4E2079 #794E20
tetradic
#20794E #212079 #79204B #787920
square
#20794E #212079 #79204B #787920
split-complementary
#20794E #792078 #792120
monochromatic
#061810 #13492F #20794E #2DA96D #45CE8C

Accessibility & contrast

On white

5.38
#20794E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#20794E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20794E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20794E#FFFFFF#000000##FFFFFF
##20794E1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4B
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #20794e;
/* rgb */ color: rgb(32, 121, 78);
/* oklch */ color: oklch(51.3% 0.107 157.5);
Tailwind
colors: {
  custom: {
    50: '#69a080',
    500: '#20794e',
    950: '#000000',
  },
}
SCSS
$custom: #20794e;
$custom-light: #69a080;
$custom-dark: #000000;
JSON
{
  "hex": "#20794e",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 78
  },
  "hsl": {
    "h": 151.011,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.10742,
    "h": 157.5
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#20794E
secondary
#AC4979
accent
#4691E1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #20794E

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

Preview Lab → · Contrast checker → · Palette generator →

#20794E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva