#20522E#20522E

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

Color values

HEX#20522E
RGBrgb(32, 82, 46)
HSLhsl(137, 44%, 22%)
HSVhsv(137, 61%, 32%)
CMYKcmyk(61%, 0%, 43.9%, 67.8%)
CIE-LABlab(30.73, -26.00, 16.20)
CIE-LCHlch(30.73, 30.63, 148.06°)
OKLaboklab(39.39% -0.0704 0.0402)
OKLCHoklch(39.39% 0.081 150.3)
XYZxyz(4.1058, 6.5386, 3.6299)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20522E #522044
analogous
#2B5220 #20522E #205247
triadic
#20522E #2E2052 #522E20
tetradic
#20522E #202B52 #522044 #524720
square
#20522E #202B52 #522044 #524720
split-complementary
#20522E #472052 #52202B
monochromatic
#09160C #0F2615 #20522E #317E47 #42AA5F

Accessibility & contrast

On white

9.10
#20522E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20522E
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20522E#FFFFFF#000000##FFFFFF
##20522E1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2B
Deuteranopia (green-blind)
#4C4630
Tritanopia (blue-blind)
#145149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20522e;
/* rgb */ color: rgb(32, 82, 46);
/* oklch */ color: oklch(39.4% 0.081 150.3);
Tailwind
colors: {
  custom: {
    50: '#618367',
    500: '#20522e',
    950: '#000000',
  },
}
SCSS
$custom: #20522e;
$custom-light: #618367;
$custom-dark: #000000;
JSON
{
  "hex": "#20522e",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 46
  },
  "hsl": {
    "h": 136.8,
    "s": 43.86,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39394,
    "c": 0.08108,
    "h": 150.3
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#20522E
secondary
#864775
accent
#54B0D4
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #20522E

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

Preview Lab → · Contrast checker → · Palette generator →

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