#20581C#20581C

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

Color values

HEX#20581C
RGBrgb(32, 88, 28)
HSLhsl(116, 52%, 23%)
HSVhsv(116, 68%, 35%)
CMYKcmyk(63.6%, 0%, 68.2%, 65.5%)
CIE-LABlab(32.63, -31.54, 28.61)
CIE-LCHlch(32.63, 42.59, 137.79°)
OKLaboklab(40.88% -0.0859 0.0666)
OKLCHoklch(40.88% 0.109 142.2)
XYZxyz(4.2948, 7.3700, 2.2946)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20581C #541C58
analogous
#3E581C #20581C #1C5836
triadic
#20581C #1C2058 #581C20
tetradic
#20581C #1C3E58 #541C58 #58361C
square
#20581C #1C3E58 #541C58 #58361C
split-complementary
#20581C #361C58 #581C3E
monochromatic
#081707 #0F2A0D #20581C #31862B #42B53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20581C#FFFFFF#000000##FFFFFF
##20581C1.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)
#5A5015
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#17554B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20581c;
/* rgb */ color: rgb(32, 88, 28);
/* oklch */ color: oklch(40.9% 0.109 142.2);
Tailwind
colors: {
  custom: {
    50: '#63885b',
    500: '#20581c',
    950: '#000000',
  },
}
SCSS
$custom: #20581c;
$custom-light: #63885b;
$custom-dark: #000000;
JSON
{
  "hex": "#20581c",
  "rgb": {
    "r": 32,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 116,
    "s": 51.724,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40875,
    "c": 0.10871,
    "h": 142.2
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#20581C
secondary
#89428E
accent
#4DDBD2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #20581C

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

Preview Lab → · Contrast checker → · Palette generator →

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