#20581A#20581A

#20581A is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.110 H 141.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#20581A
RGBrgb(32, 88, 26)
HSLhsl(114, 54%, 22%)
HSVhsv(114, 70%, 35%)
CMYKcmyk(63.6%, 0%, 70.5%, 65.5%)
CIE-LABlab(32.61, -31.78, 29.57)
CIE-LCHlch(32.61, 43.41, 137.06°)
OKLaboklab(40.85% -0.0867 0.0684)
OKLCHoklch(40.85% 0.11 141.7)
XYZxyz(4.2716, 7.3607, 2.1727)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20581A #521A58
analogous
#3F581A #20581A #1A5833
triadic
#20581A #1A2058 #581A20
tetradic
#20581A #1A3F58 #521A58 #58331A
square
#20581A #1A3F58 #521A58 #58331A
split-complementary
#20581A #331A58 #581A3F
monochromatic
#091807 #0F290C #20581A #318728 #42B636

Accessibility & contrast

On white

8.49
#20581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#20581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20581A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20581A#FFFFFF#000000##FFFFFF
##20581A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5012
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#17554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20581a;
/* rgb */ color: rgb(32, 88, 26);
/* oklch */ color: oklch(40.9% 0.110 141.7);
Tailwind
colors: {
  custom: {
    50: '#63885a',
    500: '#20581a',
    950: '#000000',
  },
}
SCSS
$custom: #20581a;
$custom-light: #63885a;
$custom-dark: #000000;
JSON
{
  "hex": "#20581a",
  "rgb": {
    "r": 32,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 114.194,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40851,
    "c": 0.1104,
    "h": 141.7
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#20581A
secondary
#86408E
accent
#4ADECF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #20581A

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

Preview Lab → · Contrast checker → · Palette generator →

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