#20520F#20520F

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

Color values

HEX#20520F
RGBrgb(32, 82, 15)
HSLhsl(105, 69%, 19%)
HSVhsv(105, 82%, 32%)
CMYKcmyk(61%, 0%, 81.7%, 67.8%)
CIE-LABlab(30.34, -30.31, 32.09)
CIE-LCHlch(30.34, 44.14, 133.37°)
OKLaboklab(38.95% -0.0834 0.0721)
OKLCHoklch(38.95% 0.11 139.2)
XYZxyz(3.6990, 6.3758, 1.4876)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20520F #410F52
analogous
#42520F #20520F #0F5220
triadic
#20520F #0F2052 #520F20
tetradic
#20520F #0F4252 #410F52 #52200F
square
#20520F #0F4252 #410F52 #52200F
split-complementary
#20520F #200F52 #520F42
monochromatic
#0A1A05 #0C1E06 #20520F #348618 #48B922

Accessibility & contrast

On white

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

On black

2.28
#20520F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20520F#FFFFFF#000000##FFFFFF
##20520F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20520f;
/* rgb */ color: rgb(32, 82, 15);
/* oklch */ color: oklch(38.9% 0.110 139.2);
Tailwind
colors: {
  custom: {
    50: '#628353',
    500: '#20520f',
    950: '#000000',
  },
}
SCSS
$custom: #20520f;
$custom-light: #628353;
$custom-dark: #000000;
JSON
{
  "hex": "#20520f",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 104.776,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.11026,
    "h": 139.2
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#20520F
secondary
#75318C
accent
#3CECBF
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #20520F

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

Preview Lab → · Contrast checker → · Palette generator →

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