#20522F#20522F

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

Color values

HEX#20522F
RGBrgb(32, 82, 47)
HSLhsl(138, 44%, 22%)
HSVhsv(138, 61%, 32%)
CMYKcmyk(61%, 0%, 42.7%, 67.8%)
CIE-LABlab(30.75, -25.79, 15.62)
CIE-LCHlch(30.75, 30.16, 148.80°)
OKLaboklab(39.42% -0.0699 0.0389)
OKLCHoklch(39.42% 0.08 150.9)
XYZxyz(4.1257, 6.5465, 3.7350)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20522F #522043
analogous
#2A5220 #20522F #205248
triadic
#20522F #2F2052 #522F20
tetradic
#20522F #202A52 #522043 #524820
square
#20522F #202A52 #522043 #524820
split-complementary
#20522F #482052 #52202A
monochromatic
#09160D #0F2616 #20522F #317E48 #42AA61

Accessibility & contrast

On white

9.09
#20522F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #20522F
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20522F#FFFFFF#000000##FFFFFF
##20522F1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524B2D
Deuteranopia (green-blind)
#4C4731
Tritanopia (blue-blind)
#135149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #20522f;
/* rgb */ color: rgb(32, 82, 47);
/* oklch */ color: oklch(39.4% 0.080 150.9);
Tailwind
colors: {
  custom: {
    50: '#618368',
    500: '#20522f',
    950: '#000000',
  },
}
SCSS
$custom: #20522f;
$custom-light: #618368;
$custom-dark: #000000;
JSON
{
  "hex": "#20522f",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 47
  },
  "hsl": {
    "h": 138,
    "s": 43.86,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39416,
    "c": 0.07997,
    "h": 150.9
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#20522F
secondary
#864774
accent
#54ADD4
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050A06
muted
#797C7A

Preview Lab

Preview with #20522F

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

Preview Lab → · Contrast checker → · Palette generator →

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