#20522D#20522D

#20522D is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.082 H 149.6°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#20522D
RGBrgb(32, 82, 45)
HSLhsl(136, 44%, 22%)
HSVhsv(136, 61%, 32%)
CMYKcmyk(61%, 0%, 45.1%, 67.8%)
CIE-LABlab(30.71, -26.19, 16.78)
CIE-LCHlch(30.71, 31.11, 147.35°)
OKLaboklab(39.37% -0.0709 0.0415)
OKLCHoklch(39.37% 0.082 149.6)
XYZxyz(4.0863, 6.5308, 3.5273)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20522D #522045
analogous
#2C5220 #20522D #205246
triadic
#20522D #2D2052 #522D20
tetradic
#20522D #202C52 #522045 #524620
square
#20522D #202C52 #522045 #524620
split-complementary
#20522D #462052 #52202C
monochromatic
#09160C #0F2615 #20522D #317E45 #42AA5D

Accessibility & contrast

On white

9.11
#20522D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#20522D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20522D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20522D#FFFFFF#000000##FFFFFF
##20522D1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B2A
Deuteranopia (green-blind)
#4C462F
Tritanopia (blue-blind)
#145149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20522d;
/* rgb */ color: rgb(32, 82, 45);
/* oklch */ color: oklch(39.4% 0.082 149.6);
Tailwind
colors: {
  custom: {
    50: '#618366',
    500: '#20522d',
    950: '#000000',
  },
}
SCSS
$custom: #20522d;
$custom-light: #618366;
$custom-dark: #000000;
JSON
{
  "hex": "#20522d",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 45
  },
  "hsl": {
    "h": 135.6,
    "s": 43.86,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39373,
    "c": 0.0822,
    "h": 149.6
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#20522D
secondary
#864776
accent
#54B2D4
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #20522D

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

Preview Lab → · Contrast checker → · Palette generator →

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