#20581F#20581F

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

Color values

HEX#20581F
RGBrgb(32, 88, 31)
HSLhsl(119, 48%, 23%)
HSVhsv(119, 65%, 35%)
CMYKcmyk(63.6%, 0%, 64.8%, 65.5%)
CIE-LABlab(32.67, -31.17, 27.12)
CIE-LCHlch(32.67, 41.31, 138.97°)
OKLaboklab(40.91% -0.0847 0.0637)
OKLCHoklch(40.91% 0.106 143.1)
XYZxyz(4.3325, 7.3851, 2.4932)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20581F #571F58
analogous
#3C581F #20581F #1F583A
triadic
#20581F #1F2058 #581F20
tetradic
#20581F #1F3C58 #571F58 #583A1F
square
#20581F #1F3C58 #571F58 #583A1F
split-complementary
#20581F #3A1F58 #581F3C
monochromatic
#081708 #102B0F #20581F #30852F #41B33F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20581F#FFFFFF#000000##FFFFFF
##20581F1.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)
#5A5019
Deuteranopia (green-blind)
#534B24
Tritanopia (blue-blind)
#16554C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #20581f;
/* rgb */ color: rgb(32, 88, 31);
/* oklch */ color: oklch(40.9% 0.106 143.1);
Tailwind
colors: {
  custom: {
    50: '#63885d',
    500: '#20581f',
    950: '#000000',
  },
}
SCSS
$custom: #20581f;
$custom-light: #63885d;
$custom-dark: #000000;
JSON
{
  "hex": "#20581f",
  "rgb": {
    "r": 32,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 118.947,
    "s": 47.899,
    "l": 23.333
  },
  "oklch": {
    "l": 0.40913,
    "c": 0.10602,
    "h": 143.1
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#20581F
secondary
#8B468D
accent
#50D7D5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #20581F

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

Preview Lab → · Contrast checker → · Palette generator →

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