#20794B#20794B

#20794B is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.2% C 0.110 H 155.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#20794B
RGBrgb(32, 121, 75)
HSLhsl(149, 58%, 30%)
HSVhsv(149, 74%, 47%)
CMYKcmyk(73.6%, 0%, 38%, 52.5%)
CIE-LABlab(44.93, -37.26, 17.95)
CIE-LCHlch(44.93, 41.35, 154.28°)
OKLaboklab(51.24% -0.1008 0.045)
OKLCHoklch(51.24% 0.11 155.9)
XYZxyz(8.7022, 14.4888, 8.9932)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20794B #79204E
analogous
#217920 #20794B #207978
triadic
#20794B #4B2079 #794B20
tetradic
#20794B #202179 #79204E #797820
square
#20794B #202179 #79204E #797820
split-complementary
#20794B #782079 #792021
monochromatic
#06180F #13492D #20794B #2DA969 #45CE87

Accessibility & contrast

On white

5.39
#20794B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20794B
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20794B#FFFFFF#000000##FFFFFF
##20794B1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20794b;
/* rgb */ color: rgb(32, 121, 75);
/* oklch */ color: oklch(51.2% 0.110 155.9);
Tailwind
colors: {
  custom: {
    50: '#69a07d',
    500: '#20794b',
    950: '#000000',
  },
}
SCSS
$custom: #20794b;
$custom-light: #69a07d;
$custom-dark: #000000;
JSON
{
  "hex": "#20794b",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 75
  },
  "hsl": {
    "h": 148.989,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51243,
    "c": 0.11037,
    "h": 155.9
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#20794B
secondary
#AC497C
accent
#4697E1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #20794B

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

Preview Lab → · Contrast checker → · Palette generator →

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