#20792A#20792A

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

Color values

HEX#20792A
RGBrgb(32, 121, 42)
HSLhsl(127, 58%, 30%)
HSVhsv(127, 74%, 47%)
CMYKcmyk(73.6%, 0%, 65.3%, 52.5%)
CIE-LABlab(44.44, -42.79, 35.03)
CIE-LCHlch(44.44, 55.30, 140.69°)
OKLaboklab(50.69% -0.1157 0.0818)
OKLCHoklch(50.69% 0.142 144.7)
XYZxyz(7.8504, 14.1481, 4.5072)
Luminance0.1415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20792A #79206F
analogous
#427920 #20792A #207957
triadic
#20792A #2A2079 #792A20
tetradic
#20792A #204279 #79206F #795720
square
#20792A #204279 #79206F #795720
split-complementary
#20792A #572079 #792042
monochromatic
#061808 #134919 #20792A #2DA93B #45CE55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20792A#FFFFFF#000000##FFFFFF
##20792A1.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)
#7B6D21
Deuteranopia (green-blind)
#716631
Tritanopia (blue-blind)
#007668
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #20792a;
/* rgb */ color: rgb(32, 121, 42);
/* oklch */ color: oklch(50.7% 0.142 144.7);
Tailwind
colors: {
  custom: {
    50: '#6aa167',
    500: '#20792a',
    950: '#000000',
  },
}
SCSS
$custom: #20792a;
$custom-light: #6aa167;
$custom-dark: #000000;
JSON
{
  "hex": "#20792a",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 126.742,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.50689,
    "c": 0.14167,
    "h": 144.7
  },
  "luminance": 0.14149
}

Semantic roles & 50–950 ramp

primary
#20792A
secondary
#AC49A1
accent
#46D0E1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #20792A

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

Preview Lab → · Contrast checker → · Palette generator →

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