#20541B#20541B

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

Color values

HEX#20541B
RGBrgb(32, 84, 27)
HSLhsl(115, 51%, 22%)
HSVhsv(115, 68%, 33%)
CMYKcmyk(61.9%, 0%, 67.9%, 67.1%)
CIE-LABlab(31.18, -29.96, 27.48)
CIE-LCHlch(31.18, 40.65, 137.47°)
OKLaboklab(39.67% -0.0817 0.0641)
OKLCHoklch(39.67% 0.104 141.9)
XYZxyz(3.9636, 6.7265, 2.1262)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20541B #4F1B54
analogous
#3D541B #20541B #1B5433
triadic
#20541B #1B2054 #541B20
tetradic
#20541B #1B3D54 #4F1B54 #54331B
square
#20541B #1B3D54 #4F1B54 #54331B
split-complementary
#20541B #331B54 #541B3D
monochromatic
#091707 #0E260C #20541B #32822A #43B139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20541B#FFFFFF#000000##FFFFFF
##20541B1.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)
#564C14
Deuteranopia (green-blind)
#4F4820
Tritanopia (blue-blind)
#185148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20541b;
/* rgb */ color: rgb(32, 84, 27);
/* oklch */ color: oklch(39.7% 0.104 141.9);
Tailwind
colors: {
  custom: {
    50: '#62855a',
    500: '#20541b',
    950: '#000000',
  },
}
SCSS
$custom: #20541b;
$custom-light: #62855a;
$custom-dark: #000000;
JSON
{
  "hex": "#20541b",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 27
  },
  "hsl": {
    "h": 114.737,
    "s": 51.351,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39668,
    "c": 0.10381,
    "h": 141.9
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#20541B
secondary
#83418A
accent
#4DDBCE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20541B

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

Preview Lab → · Contrast checker → · Palette generator →

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