#20540D#20540D

#20540D is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.114 H 139.1°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#20540D
RGBrgb(32, 84, 13)
HSLhsl(104, 73%, 19%)
HSVhsv(104, 85%, 33%)
CMYKcmyk(61.9%, 0%, 84.5%, 67.1%)
CIE-LABlab(31.06, -31.29, 33.54)
CIE-LCHlch(31.06, 45.88, 133.01°)
OKLaboklab(39.53% -0.0862 0.0748)
OKLCHoklch(39.53% 0.114 139.1)
XYZxyz(3.8385, 6.6765, 1.4671)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20540D #410D54
analogous
#44540D #20540D #0D541E
triadic
#20540D #0D2054 #540D20
tetradic
#20540D #0D4454 #410D54 #541E0D
square
#20540D #0D4454 #410D54 #541E0D
split-complementary
#20540D #1E0D54 #540D44
monochromatic
#0A1A04 #0C1F05 #20540D #348915 #48BE1D

Accessibility & contrast

On white

8.99
#20540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#20540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20540D
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20540D#FFFFFF#000000##FFFFFF
##20540D1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#1A5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20540d;
/* rgb */ color: rgb(32, 84, 13);
/* oklch */ color: oklch(39.5% 0.114 139.1);
Tailwind
colors: {
  custom: {
    50: '#638552',
    500: '#20540d',
    950: '#000000',
  },
}
SCSS
$custom: #20540d;
$custom-light: #638552;
$custom-dark: #000000;
JSON
{
  "hex": "#20540d",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 103.944,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39534,
    "c": 0.11415,
    "h": 139.1
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#20540D
secondary
#752E8F
accent
#38F0BF
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #20540D

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

Preview Lab → · Contrast checker → · Palette generator →

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