#20541F#20541F

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

Color values

HEX#20541F
RGBrgb(32, 84, 31)
HSLhsl(119, 46%, 23%)
HSVhsv(119, 63%, 33%)
CMYKcmyk(61.9%, 0%, 63.1%, 67.1%)
CIE-LABlab(31.22, -29.44, 25.45)
CIE-LCHlch(31.22, 38.91, 139.16°)
OKLaboklab(39.72% -0.08 0.0601)
OKLCHoklch(39.72% 0.1 143.1)
XYZxyz(4.0131, 6.7463, 2.3867)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20541F #531F54
analogous
#3A541F #20541F #1F5439
triadic
#20541F #1F2054 #541F20
tetradic
#20541F #1F3A54 #531F54 #54391F
square
#20541F #1F3A54 #531F54 #54391F
split-complementary
#20541F #391F54 #541F3A
monochromatic
#091608 #0F270F #20541F #31812F #42AD40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20541F#FFFFFF#000000##FFFFFF
##20541F1.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)
#564C1A
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#185248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20541f;
/* rgb */ color: rgb(32, 84, 31);
/* oklch */ color: oklch(39.7% 0.100 143.1);
Tailwind
colors: {
  custom: {
    50: '#62855c',
    500: '#20541f',
    950: '#000000',
  },
}
SCSS
$custom: #20541f;
$custom-light: #62855c;
$custom-dark: #000000;
JSON
{
  "hex": "#20541f",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 31
  },
  "hsl": {
    "h": 118.868,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.39721,
    "c": 0.10011,
    "h": 143.1
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#20541F
secondary
#874689
accent
#52D6D3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20541F

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

Preview Lab → · Contrast checker → · Palette generator →

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