#20581D#20581D

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

Color values

HEX#20581D
RGBrgb(32, 88, 29)
HSLhsl(117, 50%, 23%)
HSVhsv(117, 67%, 35%)
CMYKcmyk(63.6%, 0%, 67%, 65.5%)
CIE-LABlab(32.65, -31.42, 28.12)
CIE-LCHlch(32.65, 42.17, 138.18°)
OKLaboklab(40.89% -0.0855 0.0657)
OKLCHoklch(40.89% 0.108 142.5)
XYZxyz(4.3069, 7.3748, 2.3587)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20581D #551D58
analogous
#3D581D #20581D #1D5837
triadic
#20581D #1D2058 #581D20
tetradic
#20581D #1D3D58 #551D58 #58371D
square
#20581D #1D3D58 #551D58 #58371D
split-complementary
#20581D #371D58 #581D3D
monochromatic
#081708 #0F2A0E #20581D #31862C #41B43B

Accessibility & contrast

On white

8.48
#20581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20581D
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20581D#FFFFFF#000000##FFFFFF
##20581D1.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20581d;
/* rgb */ color: rgb(32, 88, 29);
/* oklch */ color: oklch(40.9% 0.108 142.5);
Tailwind
colors: {
  custom: {
    50: '#63885c',
    500: '#20581d',
    950: '#000000',
  },
}
SCSS
$custom: #20581d;
$custom-light: #63885c;
$custom-dark: #000000;
JSON
{
  "hex": "#20581d",
  "rgb": {
    "r": 32,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 116.949,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40887,
    "c": 0.10783,
    "h": 142.5
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#20581D
secondary
#8A448D
accent
#4EDAD3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #20581D

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

Preview Lab → · Contrast checker → · Palette generator →

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