#20501D#20501D

#20501D is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.096 H 142.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#20501D
RGBrgb(32, 80, 29)
HSLhsl(116, 47%, 21%)
HSVhsv(116, 64%, 31%)
CMYKcmyk(60%, 0%, 63.7%, 68.6%)
CIE-LABlab(29.75, -27.94, 24.80)
CIE-LCHlch(29.75, 37.36, 138.40°)
OKLaboklab(38.5% -0.0761 0.0585)
OKLCHoklch(38.5% 0.096 142.4)
XYZxyz(3.6859, 6.1328, 2.1517)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20501D #4D1D50
analogous
#3A501D #20501D #1D5034
triadic
#20501D #1D2050 #501D20
tetradic
#20501D #1D3A50 #4D1D50 #50341D
square
#20501D #1D3A50 #4D1D50 #50341D
split-complementary
#20501D #341D50 #501D3A
monochromatic
#091608 #0E230D #20501D #327D2D #44AA3E

Accessibility & contrast

On white

9.43
#20501D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#20501D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20501D
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20501D#FFFFFF#000000##FFFFFF
##20501D1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524918
Deuteranopia (green-blind)
#4C4421
Tritanopia (blue-blind)
#194E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20501d;
/* rgb */ color: rgb(32, 80, 29);
/* oklch */ color: oklch(38.5% 0.096 142.4);
Tailwind
colors: {
  custom: {
    50: '#61815b',
    500: '#20501d',
    950: '#000000',
  },
}
SCSS
$custom: #20501d;
$custom-light: #61815b;
$custom-dark: #000000;
JSON
{
  "hex": "#20501d",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 29
  },
  "hsl": {
    "h": 116.471,
    "s": 46.789,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.09599,
    "h": 142.4
  },
  "luminance": 0.06133
}

Semantic roles & 50–950 ramp

primary
#20501D
secondary
#814485
accent
#51D6CF
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A04
muted
#797C79

Preview Lab

Preview with #20501D

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

Preview Lab → · Contrast checker → · Palette generator →

#20501D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva