#20531B#20531B

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

Color values

HEX#20531B
RGBrgb(32, 83, 27)
HSLhsl(115, 51%, 22%)
HSVhsv(115, 67%, 33%)
CMYKcmyk(61.4%, 0%, 67.5%, 67.5%)
CIE-LABlab(30.81, -29.52, 27.07)
CIE-LCHlch(30.81, 40.06, 137.48°)
OKLaboklab(39.37% -0.0805 0.0632)
OKLCHoklch(39.37% 0.102 141.9)
XYZxyz(3.8866, 6.5724, 2.1005)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20531B #4E1B53
analogous
#3C531B #20531B #1B5332
triadic
#20531B #1B2053 #531B20
tetradic
#20531B #1B3C53 #4E1B53 #53321B
square
#20531B #1B3C53 #4E1B53 #53321B
split-complementary
#20531B #321B53 #531B3C
monochromatic
#091708 #0E250C #20531B #32812A #44AF39

Accessibility & contrast

On white

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

On black

2.31
#20531B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20531B#FFFFFF#000000##FFFFFF
##20531B1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B15
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#195047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20531b;
/* rgb */ color: rgb(32, 83, 27);
/* oklch */ color: oklch(39.4% 0.102 141.9);
Tailwind
colors: {
  custom: {
    50: '#62845a',
    500: '#20531b',
    950: '#000000',
  },
}
SCSS
$custom: #20531b;
$custom-light: #62845a;
$custom-dark: #000000;
JSON
{
  "hex": "#20531b",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 114.643,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39369,
    "c": 0.10235,
    "h": 141.9
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#20531B
secondary
#824189
accent
#4DDACE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20531B

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

Preview Lab → · Contrast checker → · Palette generator →

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