#20792B#20792B

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

Color values

HEX#20792B
RGBrgb(32, 121, 43)
HSLhsl(127, 58%, 30%)
HSVhsv(127, 74%, 47%)
CMYKcmyk(73.6%, 0%, 64.5%, 52.5%)
CIE-LABlab(44.45, -42.67, 34.56)
CIE-LCHlch(44.45, 54.91, 140.99°)
OKLaboklab(50.7% -0.1153 0.0809)
OKLCHoklch(50.7% 0.141 144.9)
XYZxyz(7.8686, 14.1554, 4.6026)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20792B #79206E
analogous
#417920 #20792B #207958
triadic
#20792B #2B2079 #792B20
tetradic
#20792B #204179 #79206E #795820
square
#20792B #204179 #79206E #795820
split-complementary
#20792B #582079 #792041
monochromatic
#061809 #13491A #20792B #2DA93C #45CE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20792B#FFFFFF#000000##FFFFFF
##20792B1.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)
#7B6D22
Deuteranopia (green-blind)
#716632
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #20792b;
/* rgb */ color: rgb(32, 121, 43);
/* oklch */ color: oklch(50.7% 0.141 144.9);
Tailwind
colors: {
  custom: {
    50: '#6aa167',
    500: '#20792b',
    950: '#000000',
  },
}
SCSS
$custom: #20792b;
$custom-light: #6aa167;
$custom-dark: #000000;
JSON
{
  "hex": "#20792b",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 127.416,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50701,
    "c": 0.14086,
    "h": 144.9
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

primary
#20792B
secondary
#AC49A0
accent
#46CEE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #20792B

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

Preview Lab → · Contrast checker → · Palette generator →

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