#20520D#20520D

#20520D is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.111 H 138.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#20520D
RGBrgb(32, 82, 13)
HSLhsl(103, 73%, 19%)
HSVhsv(103, 84%, 32%)
CMYKcmyk(61%, 0%, 84.1%, 67.8%)
CIE-LABlab(30.33, -30.46, 32.84)
CIE-LCHlch(30.33, 44.79, 132.84°)
OKLaboklab(38.93% -0.084 0.0733)
OKLCHoklch(38.93% 0.111 138.9)
XYZxyz(3.6855, 6.3704, 1.4161)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20520D #3F0D52
analogous
#42520D #20520D #0D521C
triadic
#20520D #0D2052 #520D20
tetradic
#20520D #0D4252 #3F0D52 #521C0D
square
#20520D #0D4252 #3F0D52 #521C0D
split-complementary
#20520D #1C0D52 #520D42
monochromatic
#0A1A04 #0B1D05 #20520D #358715 #49BC1E

Accessibility & contrast

On white

9.23
#20520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#20520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20520D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20520D#FFFFFF#000000##FFFFFF
##20520D1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A00
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#1B4F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20520d;
/* rgb */ color: rgb(32, 82, 13);
/* oklch */ color: oklch(38.9% 0.111 138.9);
Tailwind
colors: {
  custom: {
    50: '#628352',
    500: '#20520d',
    950: '#000000',
  },
}
SCSS
$custom: #20520d;
$custom-light: #628352;
$custom-dark: #000000;
JSON
{
  "hex": "#20520d",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 103.478,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38931,
    "c": 0.11149,
    "h": 138.9
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#20520D
secondary
#732E8D
accent
#38EFBD
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #20520D

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

Preview Lab → · Contrast checker → · Palette generator →

#20520D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva