#20531D#20531D

#20531D is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.101 H 142.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#20531D
RGBrgb(32, 83, 29)
HSLhsl(117, 48%, 22%)
HSVhsv(117, 65%, 33%)
CMYKcmyk(61.4%, 0%, 65.1%, 67.5%)
CIE-LABlab(30.84, -29.27, 26.06)
CIE-LCHlch(30.84, 39.19, 138.32°)
OKLaboklab(39.4% -0.0797 0.0612)
OKLCHoklch(39.4% 0.101 142.5)
XYZxyz(3.9105, 6.5820, 2.2265)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20531D #501D53
analogous
#3B531D #20531D #1D5335
triadic
#20531D #1D2053 #531D20
tetradic
#20531D #1D3B53 #501D53 #53351D
square
#20531D #1D3B53 #501D53 #53351D
split-complementary
#20531D #351D53 #531D3B
monochromatic
#091708 #0F260D #20531D #31802D #43AE3D

Accessibility & contrast

On white

9.07
#20531D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#20531D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20531D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20531D#FFFFFF#000000##FFFFFF
##20531D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B17
Deuteranopia (green-blind)
#4E4721
Tritanopia (blue-blind)
#185047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20531d;
/* rgb */ color: rgb(32, 83, 29);
/* oklch */ color: oklch(39.4% 0.101 142.5);
Tailwind
colors: {
  custom: {
    50: '#62845b',
    500: '#20531d',
    950: '#000000',
  },
}
SCSS
$custom: #20531d;
$custom-light: #62845b;
$custom-dark: #000000;
JSON
{
  "hex": "#20531d",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 116.667,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.39395,
    "c": 0.10051,
    "h": 142.5
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#20531D
secondary
#844488
accent
#50D8D0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20531D

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

Preview Lab → · Contrast checker → · Palette generator →

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