#20791B#20791B

#20791B is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.152 H 142.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#20791B
RGBrgb(32, 121, 27)
HSLhsl(117, 64%, 29%)
HSVhsv(117, 78%, 47%)
CMYKcmyk(73.6%, 0%, 77.7%, 52.5%)
CIE-LABlab(44.32, -44.30, 41.34)
CIE-LCHlch(44.32, 60.59, 136.98°)
OKLaboklab(50.54% -0.1205 0.0932)
OKLCHoklch(50.54% 0.152 142.3)
XYZxyz(7.6304, 14.0601, 3.3484)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20791B #741B79
analogous
#4F791B #20791B #1B7945
triadic
#20791B #1B2079 #791B20
tetradic
#20791B #1B4F79 #741B79 #79451B
square
#20791B #1B4F79 #741B79 #79451B
split-complementary
#20791B #451B79 #791B4F
monochromatic
#071906 #134710 #20791B #2DAB26 #43D33B

Accessibility & contrast

On white

5.51
#20791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#20791B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20791B
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20791B#FFFFFF#000000##FFFFFF
##20791B1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D07
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#057567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #20791b;
/* rgb */ color: rgb(32, 121, 27);
/* oklch */ color: oklch(50.5% 0.152 142.3);
Tailwind
colors: {
  custom: {
    50: '#6ba15e',
    500: '#20791b',
    950: '#000000',
  },
}
SCSS
$custom: #20791b;
$custom-light: #6ba15e;
$custom-dark: #000000;
JSON
{
  "hex": "#20791b",
  "rgb": {
    "r": 32,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 116.809,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50544,
    "c": 0.15235,
    "h": 142.3
  },
  "luminance": 0.14061
}

Semantic roles & 50–950 ramp

primary
#20791B
secondary
#A843AD
accent
#41E7DE
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #20791B

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

Preview Lab → · Contrast checker → · Palette generator →

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