#20540E#20540E

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

Color values

HEX#20540E
RGBrgb(32, 84, 14)
HSLhsl(105, 71%, 19%)
HSVhsv(105, 83%, 33%)
CMYKcmyk(61.9%, 0%, 83.3%, 67.1%)
CIE-LABlab(31.06, -31.22, 33.18)
CIE-LCHlch(31.06, 45.56, 133.26°)
OKLaboklab(39.54% -0.086 0.0742)
OKLCHoklch(39.54% 0.114 139.2)
XYZxyz(3.8451, 6.6791, 1.5019)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20540E #420E54
analogous
#43540E #20540E #0E541F
triadic
#20540E #0E2054 #540E20
tetradic
#20540E #0E4354 #420E54 #541F0E
square
#20540E #0E4354 #420E54 #541F0E
split-complementary
#20540E #1F0E54 #540E43
monochromatic
#0A1A04 #0C2005 #20540E #348817 #48BD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20540E#FFFFFF#000000##FFFFFF
##20540E1.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)
#574C01
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#1A5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20540e;
/* rgb */ color: rgb(32, 84, 14);
/* oklch */ color: oklch(39.5% 0.114 139.2);
Tailwind
colors: {
  custom: {
    50: '#638553',
    500: '#20540e',
    950: '#000000',
  },
}
SCSS
$custom: #20540e;
$custom-light: #638553;
$custom-dark: #000000;
JSON
{
  "hex": "#20540e",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 104.571,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39541,
    "c": 0.11356,
    "h": 139.2
  },
  "luminance": 0.06679
}

Semantic roles & 50–950 ramp

primary
#20540E
secondary
#762F8E
accent
#3AEEC0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #20540E

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

Preview Lab → · Contrast checker → · Palette generator →

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