#20794C#20794C

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

Color values

HEX#20794C
RGBrgb(32, 121, 76)
HSLhsl(150, 58%, 30%)
HSVhsv(150, 74%, 47%)
CMYKcmyk(73.6%, 0%, 37.2%, 52.5%)
CIE-LABlab(44.95, -37.04, 17.40)
CIE-LCHlch(44.95, 40.92, 154.84°)
OKLaboklab(51.27% -0.1003 0.0437)
OKLCHoklch(51.27% 0.109 156.5)
XYZxyz(8.7367, 14.5026, 9.1749)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20794C #79204D
analogous
#207920 #20794C #207979
triadic
#20794C #4C2079 #794C20
tetradic
#20794C #202079 #79204D #797920
square
#20794C #202079 #79204D #797920
split-complementary
#20794C #792079 #792020
monochromatic
#06180F #13492E #20794C #2DA96A #45CE89

Accessibility & contrast

On white

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

On black

3.90
#20794C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20794C#FFFFFF#000000##FFFFFF
##20794C1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F49
Deuteranopia (green-blind)
#6D674F
Tritanopia (blue-blind)
#00786D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #20794c;
/* rgb */ color: rgb(32, 121, 76);
/* oklch */ color: oklch(51.3% 0.109 156.5);
Tailwind
colors: {
  custom: {
    50: '#69a07e',
    500: '#20794c',
    950: '#000000',
  },
}
SCSS
$custom: #20794c;
$custom-light: #69a07e;
$custom-dark: #000000;
JSON
{
  "hex": "#20794c",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 76
  },
  "hsl": {
    "h": 149.663,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.10938,
    "h": 156.5
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#20794C
secondary
#AC497B
accent
#4695E1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #20794C

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

Preview Lab → · Contrast checker → · Palette generator →

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