#20501F#20501F

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

Color values

HEX#20501F
RGBrgb(32, 80, 31)
HSLhsl(119, 44%, 22%)
HSVhsv(119, 61%, 31%)
CMYKcmyk(60%, 0%, 61.2%, 68.6%)
CIE-LABlab(29.77, -27.65, 23.74)
CIE-LCHlch(29.77, 36.45, 139.36°)
OKLaboklab(38.53% -0.0752 0.0564)
OKLCHoklch(38.53% 0.094 143.1)
XYZxyz(3.7115, 6.1430, 2.2862)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20501F #4F1F50
analogous
#39501F #20501F #1F5037
triadic
#20501F #1F2050 #501F20
tetradic
#20501F #1F3950 #4F1F50 #50371F
square
#20501F #1F3950 #4F1F50 #50371F
split-complementary
#20501F #371F50 #501F39
monochromatic
#091609 #0E240E #20501F #327C30 #43A841

Accessibility & contrast

On white

9.42
#20501F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20501F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20501F#FFFFFF#000000##FFFFFF
##20501F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491A
Deuteranopia (green-blind)
#4B4423
Tritanopia (blue-blind)
#194E45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #20501f;
/* rgb */ color: rgb(32, 80, 31);
/* oklch */ color: oklch(38.5% 0.094 143.1);
Tailwind
colors: {
  custom: {
    50: '#61815c',
    500: '#20501f',
    950: '#000000',
  },
}
SCSS
$custom: #20501f;
$custom-light: #61815c;
$custom-dark: #000000;
JSON
{
  "hex": "#20501f",
  "rgb": {
    "r": 32,
    "g": 80,
    "b": 31
  },
  "hsl": {
    "h": 118.776,
    "s": 44.144,
    "l": 21.765
  },
  "oklch": {
    "l": 0.38526,
    "c": 0.09402,
    "h": 143.1
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#20501F
secondary
#834685
accent
#54D4D1
background
#F5F7F5
surface
#EAEEE9
border
#C6C9C5
text
#050A04
muted
#797C79

Preview Lab

Preview with #20501F

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

Preview Lab → · Contrast checker → · Palette generator →

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