#20520B#20520B

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

Color values

HEX#20520B
RGBrgb(32, 82, 11)
HSLhsl(102, 76%, 18%)
HSVhsv(102, 87%, 32%)
CMYKcmyk(61%, 0%, 86.6%, 67.8%)
CIE-LABlab(30.32, -30.59, 33.55)
CIE-LCHlch(30.32, 45.40, 132.36°)
OKLaboklab(38.92% -0.0845 0.0745)
OKLCHoklch(38.92% 0.113 138.6)
XYZxyz(3.6732, 6.3655, 1.3516)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20520B #3D0B52
analogous
#43520B #20520B #0B521A
triadic
#20520B #0B2052 #520B20
tetradic
#20520B #0B4352 #3D0B52 #521A0B
square
#20520B #0B4352 #3D0B52 #521A0B
split-complementary
#20520B #1A0B52 #520B43
monochromatic
#0B1B04 #0B1C04 #20520B #358812 #4ABE19

Accessibility & contrast

On white

9.24
#20520B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20520B
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20520B#FFFFFF#000000##FFFFFF
##20520B1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20520b;
/* rgb */ color: rgb(32, 82, 11);
/* oklch */ color: oklch(38.9% 0.113 138.6);
Tailwind
colors: {
  custom: {
    50: '#628351',
    500: '#20520b',
    950: '#000000',
  },
}
SCSS
$custom: #20520b;
$custom-light: #628351;
$custom-dark: #000000;
JSON
{
  "hex": "#20520b",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 11
  },
  "hsl": {
    "h": 102.254,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38917,
    "c": 0.11261,
    "h": 138.6
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#20520B
secondary
#712B8E
accent
#35F3BB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #20520B

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

Preview Lab → · Contrast checker → · Palette generator →

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