#20581E#20581E

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

Color values

HEX#20581E
RGBrgb(32, 88, 30)
HSLhsl(118, 49%, 23%)
HSVhsv(118, 66%, 35%)
CMYKcmyk(63.6%, 0%, 65.9%, 65.5%)
CIE-LABlab(32.66, -31.30, 27.62)
CIE-LCHlch(32.66, 41.74, 138.57°)
OKLaboklab(40.9% -0.0851 0.0647)
OKLCHoklch(40.9% 0.107 142.8)
XYZxyz(4.3195, 7.3799, 2.4249)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20581E #561E58
analogous
#3D581E #20581E #1E5839
triadic
#20581E #1E2058 #581E20
tetradic
#20581E #1E3D58 #561E58 #58391E
square
#20581E #1E3D58 #561E58 #58391E
split-complementary
#20581E #391E58 #581E3D
monochromatic
#081708 #0F2A0E #20581E #31862E #41B33D

Accessibility & contrast

On white

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

On black

2.48
#20581E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20581E#FFFFFF#000000##FFFFFF
##20581E1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5018
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#17554C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20581e;
/* rgb */ color: rgb(32, 88, 30);
/* oklch */ color: oklch(40.9% 0.107 142.8);
Tailwind
colors: {
  custom: {
    50: '#63885c',
    500: '#20581e',
    950: '#000000',
  },
}
SCSS
$custom: #20581e;
$custom-light: #63885c;
$custom-dark: #000000;
JSON
{
  "hex": "#20581e",
  "rgb": {
    "r": 32,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 117.931,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.409,
    "c": 0.10693,
    "h": 142.8
  },
  "luminance": 0.0738
}

Semantic roles & 50–950 ramp

primary
#20581E
secondary
#8B458D
accent
#4FD9D4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #20581E

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

Preview Lab → · Contrast checker → · Palette generator →

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