#20541E#20541E

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

Color values

HEX#20541E
RGBrgb(32, 84, 30)
HSLhsl(118, 47%, 22%)
HSVhsv(118, 64%, 33%)
CMYKcmyk(61.9%, 0%, 64.3%, 67.1%)
CIE-LABlab(31.21, -29.57, 25.96)
CIE-LCHlch(31.21, 39.35, 138.72°)
OKLaboklab(39.71% -0.0805 0.0611)
OKLCHoklch(39.71% 0.101 142.8)
XYZxyz(4.0001, 6.7411, 2.3184)
Luminance0.0674 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20541E #521E54
analogous
#3B541E #20541E #1E5437
triadic
#20541E #1E2054 #541E20
tetradic
#20541E #1E3B54 #521E54 #54371E
square
#20541E #1E3B54 #521E54 #54371E
split-complementary
#20541E #371E54 #541E3B
monochromatic
#091708 #0F270E #20541E #31812E #42AE3E

Accessibility & contrast

On white

8.94
#20541E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20541E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20541E#FFFFFF#000000##FFFFFF
##20541E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20541e;
/* rgb */ color: rgb(32, 84, 30);
/* oklch */ color: oklch(39.7% 0.101 142.8);
Tailwind
colors: {
  custom: {
    50: '#62855c',
    500: '#20541e',
    950: '#000000',
  },
}
SCSS
$custom: #20541e;
$custom-light: #62855c;
$custom-dark: #000000;
JSON
{
  "hex": "#20541e",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 30
  },
  "hsl": {
    "h": 117.778,
    "s": 47.368,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39707,
    "c": 0.10106,
    "h": 142.8
  },
  "luminance": 0.06741
}

Semantic roles & 50–950 ramp

primary
#20541E
secondary
#864589
accent
#51D7D2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20541E

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

Preview Lab → · Contrast checker → · Palette generator →

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