#20520E#20520E

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

Color values

HEX#20520E
RGBrgb(32, 82, 14)
HSLhsl(104, 71%, 19%)
HSVhsv(104, 83%, 32%)
CMYKcmyk(61%, 0%, 82.9%, 67.8%)
CIE-LABlab(30.33, -30.38, 32.47)
CIE-LCHlch(30.33, 44.47, 133.10°)
OKLaboklab(38.94% -0.0837 0.0727)
OKLCHoklch(38.94% 0.111 139)
XYZxyz(3.6921, 6.3731, 1.4509)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20520E #400E52
analogous
#42520E #20520E #0E521E
triadic
#20520E #0E2052 #520E20
tetradic
#20520E #0E4252 #400E52 #521E0E
square
#20520E #0E4252 #400E52 #521E0E
split-complementary
#20520E #1E0E52 #520E42
monochromatic
#0A1A04 #0C1E05 #20520E #348617 #49BB20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20520E#FFFFFF#000000##FFFFFF
##20520E1.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)
#554A02
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#1B4F45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20520e;
/* rgb */ color: rgb(32, 82, 14);
/* oklch */ color: oklch(38.9% 0.111 139.0);
Tailwind
colors: {
  custom: {
    50: '#628352',
    500: '#20520e',
    950: '#000000',
  },
}
SCSS
$custom: #20520e;
$custom-light: #628352;
$custom-dark: #000000;
JSON
{
  "hex": "#20520e",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 104.118,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.11088,
    "h": 139
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#20520E
secondary
#742F8C
accent
#3AEEBE
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #20520E

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

Preview Lab → · Contrast checker → · Palette generator →

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