#20541D#20541D

#20541D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.102 H 142.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#20541D
RGBrgb(32, 84, 29)
HSLhsl(117, 49%, 22%)
HSVhsv(117, 65%, 33%)
CMYKcmyk(61.9%, 0%, 65.5%, 67.1%)
CIE-LABlab(31.20, -29.70, 26.48)
CIE-LCHlch(31.20, 39.79, 138.29°)
OKLaboklab(39.69% -0.0809 0.0621)
OKLCHoklch(39.69% 0.102 142.5)
XYZxyz(3.9876, 6.7361, 2.2522)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20541D #511D54
analogous
#3C541D #20541D #1D5436
triadic
#20541D #1D2054 #541D20
tetradic
#20541D #1D3C54 #511D54 #54361D
square
#20541D #1D3C54 #511D54 #54361D
split-complementary
#20541D #361D54 #541D3C
monochromatic
#091708 #0F270D #20541D #31812D #43AF3C

Accessibility & contrast

On white

8.95
#20541D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#20541D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20541D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20541D#FFFFFF#000000##FFFFFF
##20541D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C17
Deuteranopia (green-blind)
#4F4821
Tritanopia (blue-blind)
#185148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20541d;
/* rgb */ color: rgb(32, 84, 29);
/* oklch */ color: oklch(39.7% 0.102 142.5);
Tailwind
colors: {
  custom: {
    50: '#62855b',
    500: '#20541d',
    950: '#000000',
  },
}
SCSS
$custom: #20541d;
$custom-light: #62855b;
$custom-dark: #000000;
JSON
{
  "hex": "#20541d",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 29
  },
  "hsl": {
    "h": 116.727,
    "s": 48.673,
    "l": 22.157
  },
  "oklch": {
    "l": 0.39694,
    "c": 0.10199,
    "h": 142.5
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#20541D
secondary
#854489
accent
#50D8D1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20541D

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

Preview Lab → · Contrast checker → · Palette generator →

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