#20541C#20541C

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

Color values

HEX#20541C
RGBrgb(32, 84, 28)
HSLhsl(116, 50%, 22%)
HSVhsv(116, 67%, 33%)
CMYKcmyk(61.9%, 0%, 66.7%, 67.1%)
CIE-LABlab(31.19, -29.83, 26.98)
CIE-LCHlch(31.19, 40.22, 137.87°)
OKLaboklab(39.68% -0.0813 0.0631)
OKLCHoklch(39.68% 0.103 142.2)
XYZxyz(3.9754, 6.7312, 2.1881)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20541C #501C54
analogous
#3C541C #20541C #1C5434
triadic
#20541C #1C2054 #541C20
tetradic
#20541C #1C3C54 #501C54 #54341C
square
#20541C #1C3C54 #501C54 #54341C
split-complementary
#20541C #341C54 #541C3C
monochromatic
#091708 #0F260D #20541C #31822B #43B03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20541C#FFFFFF#000000##FFFFFF
##20541C1.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)
#564C16
Deuteranopia (green-blind)
#4F4821
Tritanopia (blue-blind)
#185148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20541c;
/* rgb */ color: rgb(32, 84, 28);
/* oklch */ color: oklch(39.7% 0.103 142.2);
Tailwind
colors: {
  custom: {
    50: '#62855a',
    500: '#20541c',
    950: '#000000',
  },
}
SCSS
$custom: #20541c;
$custom-light: #62855a;
$custom-dark: #000000;
JSON
{
  "hex": "#20541c",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 28
  },
  "hsl": {
    "h": 115.714,
    "s": 50,
    "l": 21.961
  },
  "oklch": {
    "l": 0.39681,
    "c": 0.10291,
    "h": 142.2
  },
  "luminance": 0.06732
}

Semantic roles & 50–950 ramp

primary
#20541C
secondary
#84428A
accent
#4EDAD0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20541C

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

Preview Lab → · Contrast checker → · Palette generator →

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