#20501A#20501A

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

Color values

HEX#20501A
RGBrgb(32, 80, 26)
HSLhsl(113, 51%, 21%)
HSVhsv(113, 68%, 31%)
CMYKcmyk(60%, 0%, 67.5%, 68.6%)
CIE-LABlab(29.71, -28.33, 26.34)
CIE-LCHlch(29.71, 38.68, 137.08°)
OKLaboklab(38.46% -0.0773 0.0615)
OKLCHoklch(38.46% 0.099 141.5)
XYZxyz(3.6506, 6.1187, 1.9657)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20501A #4A1A50
analogous
#3B501A #20501A #1A502F
triadic
#20501A #1A2050 #501A20
tetradic
#20501A #1A3B50 #4A1A50 #502F1A
square
#20501A #1A3B50 #4A1A50 #502F1A
split-complementary
#20501A #2F1A50 #501A3B
monochromatic
#091708 #0E220B #20501A #327E29 #45AC38

Accessibility & contrast

On white

9.44
#20501A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#20501A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20501A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20501A#FFFFFF#000000##FFFFFF
##20501A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524914
Deuteranopia (green-blind)
#4C441E
Tritanopia (blue-blind)
#1A4D45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20501a;
/* rgb */ color: rgb(32, 80, 26);
/* oklch */ color: oklch(38.5% 0.099 141.5);
Tailwind
colors: {
  custom: {
    50: '#618159',
    500: '#20501a',
    950: '#000000',
  },
}
SCSS
$custom: #20501a;
$custom-light: #618159;
$custom-dark: #000000;
JSON
{
  "hex": "#20501a",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 113.333,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.09882,
    "h": 141.5
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#20501A
secondary
#7E4086
accent
#4DDACB
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A03
muted
#797C78

Preview Lab

Preview with #20501A

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

Preview Lab → · Contrast checker → · Palette generator →

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