#20501E#20501E

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

Color values

HEX#20501E
RGBrgb(32, 80, 30)
HSLhsl(118, 45%, 22%)
HSVhsv(118, 63%, 31%)
CMYKcmyk(60%, 0%, 62.5%, 68.6%)
CIE-LABlab(29.76, -27.80, 24.27)
CIE-LCHlch(29.76, 36.90, 138.87°)
OKLaboklab(38.51% -0.0757 0.0575)
OKLCHoklch(38.51% 0.095 142.8)
XYZxyz(3.6985, 6.1378, 2.2179)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20501E #4E1E50
analogous
#39501E #20501E #1E5035
triadic
#20501E #1E2050 #501E20
tetradic
#20501E #1E3950 #4E1E50 #50351E
square
#20501E #1E3950 #4E1E50 #50351E
split-complementary
#20501E #351E50 #501E39
monochromatic
#091608 #0E230D #20501E #327D2F #44A93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20501E#FFFFFF#000000##FFFFFF
##20501E1.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)
#524919
Deuteranopia (green-blind)
#4C4422
Tritanopia (blue-blind)
#194E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20501e;
/* rgb */ color: rgb(32, 80, 30);
/* oklch */ color: oklch(38.5% 0.095 142.8);
Tailwind
colors: {
  custom: {
    50: '#61815b',
    500: '#20501e',
    950: '#000000',
  },
}
SCSS
$custom: #20501e;
$custom-light: #61815b;
$custom-dark: #000000;
JSON
{
  "hex": "#20501e",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 30
  },
  "hsl": {
    "h": 117.6,
    "s": 45.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.38512,
    "c": 0.09502,
    "h": 142.8
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#20501E
secondary
#824585
accent
#53D5D0
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A04
muted
#797C79

Preview Lab

Preview with #20501E

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

Preview Lab → · Contrast checker → · Palette generator →

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