#20541A#20541A

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

Color values

HEX#20541A
RGBrgb(32, 84, 26)
HSLhsl(114, 53%, 22%)
HSVhsv(114, 69%, 33%)
CMYKcmyk(61.9%, 0%, 69%, 67.1%)
CIE-LABlab(31.17, -30.08, 27.97)
CIE-LCHlch(31.17, 41.07, 137.08°)
OKLaboklab(39.66% -0.0821 0.065)
OKLCHoklch(39.66% 0.105 141.6)
XYZxyz(3.9522, 6.7220, 2.0663)
Luminance0.0672 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20541A #4E1A54
analogous
#3D541A #20541A #1A5431
triadic
#20541A #1A2054 #541A20
tetradic
#20541A #1A3D54 #4E1A54 #54311A
square
#20541A #1A3D54 #4E1A54 #54311A
split-complementary
#20541A #311A54 #541A3D
monochromatic
#091707 #0E250C #20541A #328328 #44B137

Accessibility & contrast

On white

8.96
#20541A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#20541A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20541A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20541A#FFFFFF#000000##FFFFFF
##20541A1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C13
Deuteranopia (green-blind)
#50481F
Tritanopia (blue-blind)
#195148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20541a;
/* rgb */ color: rgb(32, 84, 26);
/* oklch */ color: oklch(39.7% 0.105 141.6);
Tailwind
colors: {
  custom: {
    50: '#628559',
    500: '#20541a',
    950: '#000000',
  },
}
SCSS
$custom: #20541a;
$custom-light: #628559;
$custom-dark: #000000;
JSON
{
  "hex": "#20541a",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 26
  },
  "hsl": {
    "h": 113.793,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39656,
    "c": 0.10469,
    "h": 141.6
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#20541A
secondary
#82408A
accent
#4CDCCD
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20541A

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

Preview Lab → · Contrast checker → · Palette generator →

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