#20792F#20792F

#20792F is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.137 H 145.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#20792F
RGBrgb(32, 121, 47)
HSLhsl(130, 58%, 30%)
HSVhsv(130, 74%, 47%)
CMYKcmyk(73.6%, 0%, 61.2%, 52.5%)
CIE-LABlab(44.50, -42.15, 32.65)
CIE-LCHlch(44.50, 53.31, 142.24°)
OKLaboklab(50.75% -0.1137 0.0772)
OKLCHoklch(50.75% 0.137 145.8)
XYZxyz(7.9456, 14.1862, 5.0082)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20792F #79206A
analogous
#3E7920 #20792F #20795B
triadic
#20792F #2F2079 #792F20
tetradic
#20792F #203E79 #79206A #795B20
square
#20792F #203E79 #79206A #795B20
split-complementary
#20792F #5B2079 #79203E
monochromatic
#061809 #13491C #20792F #2DA942 #45CE5C

Accessibility & contrast

On white

5.47
#20792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#20792F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20792F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20792F#FFFFFF#000000##FFFFFF
##20792F1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20792f;
/* rgb */ color: rgb(32, 121, 47);
/* oklch */ color: oklch(50.8% 0.137 145.8);
Tailwind
colors: {
  custom: {
    50: '#6aa16a',
    500: '#20792f',
    950: '#000000',
  },
}
SCSS
$custom: #20792f;
$custom-light: #6aa16a;
$custom-dark: #000000;
JSON
{
  "hex": "#20792f",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 130.112,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50751,
    "c": 0.13744,
    "h": 145.8
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#20792F
secondary
#AC499B
accent
#46C7E1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #20792F

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

Preview Lab → · Contrast checker → · Palette generator →

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