#20792C#20792C

#20792C is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.7% C 0.140 H 145.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#20792C
RGBrgb(32, 121, 44)
HSLhsl(128, 58%, 30%)
HSVhsv(128, 74%, 47%)
CMYKcmyk(73.6%, 0%, 63.6%, 52.5%)
CIE-LABlab(44.47, -42.54, 34.09)
CIE-LCHlch(44.47, 54.51, 141.29°)
OKLaboklab(50.71% -0.1149 0.08)
OKLCHoklch(50.71% 0.14 145.2)
XYZxyz(7.8871, 14.1628, 4.7004)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20792C #79206D
analogous
#407920 #20792C #207959
triadic
#20792C #2C2079 #792C20
tetradic
#20792C #204079 #79206D #795920
square
#20792C #204079 #79206D #795920
split-complementary
#20792C #592079 #792040
monochromatic
#061809 #13491A #20792C #2DA93E #45CE58

Accessibility & contrast

On white

5.48
#20792C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#20792C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20792C
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20792C#FFFFFF#000000##FFFFFF
##20792C1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E24
Deuteranopia (green-blind)
#716632
Tritanopia (blue-blind)
#007669
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #20792c;
/* rgb */ color: rgb(32, 121, 44);
/* oklch */ color: oklch(50.7% 0.140 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aa168',
    500: '#20792c',
    950: '#000000',
  },
}
SCSS
$custom: #20792c;
$custom-light: #6aa168;
$custom-dark: #000000;
JSON
{
  "hex": "#20792c",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 44
  },
  "hsl": {
    "h": 128.09,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50713,
    "c": 0.14002,
    "h": 145.2
  },
  "luminance": 0.14164
}

Semantic roles & 50–950 ramp

primary
#20792C
secondary
#AC499F
accent
#46CCE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #20792C

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

Preview Lab → · Contrast checker → · Palette generator →

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