#20531C#20531C

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

Color values

HEX#20531C
RGBrgb(32, 83, 28)
HSLhsl(116, 50%, 22%)
HSVhsv(116, 66%, 33%)
CMYKcmyk(61.4%, 0%, 66.3%, 67.5%)
CIE-LABlab(30.82, -29.40, 26.57)
CIE-LCHlch(30.82, 39.62, 137.89°)
OKLaboklab(39.38% -0.0801 0.0622)
OKLCHoklch(39.38% 0.101 142.2)
XYZxyz(3.8983, 6.5771, 2.1625)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20531C #4F1C53
analogous
#3C531C #20531C #1C5334
triadic
#20531C #1C2053 #531C20
tetradic
#20531C #1C3C53 #4F1C53 #53341C
square
#20531C #1C3C53 #4F1C53 #53341C
split-complementary
#20531C #341C53 #531C3C
monochromatic
#091708 #0E250D #20531C #32812B #43AF3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20531C#FFFFFF#000000##FFFFFF
##20531C1.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)
#554B16
Deuteranopia (green-blind)
#4E4720
Tritanopia (blue-blind)
#185047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #20531c;
/* rgb */ color: rgb(32, 83, 28);
/* oklch */ color: oklch(39.4% 0.101 142.2);
Tailwind
colors: {
  custom: {
    50: '#62845a',
    500: '#20531c',
    950: '#000000',
  },
}
SCSS
$custom: #20531c;
$custom-light: #62845a;
$custom-dark: #000000;
JSON
{
  "hex": "#20531c",
  "rgb": {
    "r": 32,
    "g": 83,
    "b": 28
  },
  "hsl": {
    "h": 115.636,
    "s": 49.55,
    "l": 21.765
  },
  "oklch": {
    "l": 0.39382,
    "c": 0.10144,
    "h": 142.2
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#20531C
secondary
#834289
accent
#4FD9CF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #20531C

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

Preview Lab → · Contrast checker → · Palette generator →

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