#20791E#20791E

#20791E is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.150 H 142.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#20791E
RGBrgb(32, 121, 30)
HSLhsl(119, 60%, 30%)
HSVhsv(119, 75%, 47%)
CMYKcmyk(73.6%, 0%, 75.2%, 52.5%)
CIE-LABlab(44.34, -44.05, 40.20)
CIE-LCHlch(44.34, 59.63, 137.62°)
OKLaboklab(50.57% -0.1197 0.0912)
OKLCHoklch(50.57% 0.15 142.7)
XYZxyz(7.6669, 14.0747, 3.5407)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20791E #771E79
analogous
#4E791E #20791E #1E7949
triadic
#20791E #1E2079 #791E20
tetradic
#20791E #1E4E79 #771E79 #79491E
square
#20791E #1E4E79 #771E79 #79491E
split-complementary
#20791E #491E79 #791E4E
monochromatic
#061906 #134812 #20791E #2DAA2A #45D041

Accessibility & contrast

On white

5.50
#20791E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#20791E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20791E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20791E#FFFFFF#000000##FFFFFF
##20791E1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#726627
Tritanopia (blue-blind)
#047567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #20791e;
/* rgb */ color: rgb(32, 121, 30);
/* oklch */ color: oklch(50.6% 0.150 142.7);
Tailwind
colors: {
  custom: {
    50: '#6aa160',
    500: '#20791e',
    950: '#000000',
  },
}
SCSS
$custom: #20791e;
$custom-light: #6aa160;
$custom-dark: #000000;
JSON
{
  "hex": "#20791e",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 30
  },
  "hsl": {
    "h": 118.681,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.15049,
    "h": 142.7
  },
  "luminance": 0.14076
}

Semantic roles & 50–950 ramp

primary
#20791E
secondary
#AA46AD
accent
#44E3E0
background
#F6FAF5
surface
#ECF3EA
border
#C7CDC6
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #20791E

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

Preview Lab → · Contrast checker → · Palette generator →

#20791E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva