#20511A#20511A

#20511A is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.100 H 141.5°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#20511A
RGBrgb(32, 81, 26)
HSLhsl(113, 51%, 21%)
HSVhsv(113, 68%, 32%)
CMYKcmyk(60.5%, 0%, 67.9%, 68.2%)
CIE-LABlab(30.07, -28.77, 26.75)
CIE-LCHlch(30.07, 39.29, 137.08°)
OKLaboklab(38.76% -0.0785 0.0624)
OKLCHoklch(38.76% 0.1 141.5)
XYZxyz(3.7244, 6.2662, 1.9903)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20511A #4B1A51
analogous
#3B511A #20511A #1A512F
triadic
#20511A #1A2051 #511A20
tetradic
#20511A #1A3B51 #4B1A51 #512F1A
square
#20511A #1A3B51 #4B1A51 #512F1A
split-complementary
#20511A #2F1A51 #511A3B
monochromatic
#091707 #0E230B #20511A #327F29 #45AE38

Accessibility & contrast

On white

9.32
#20511A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#20511A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20511A
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20511A#FFFFFF#000000##FFFFFF
##20511A1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534914
Deuteranopia (green-blind)
#4D451F
Tritanopia (blue-blind)
#194E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #20511a;
/* rgb */ color: rgb(32, 81, 26);
/* oklch */ color: oklch(38.8% 0.100 141.5);
Tailwind
colors: {
  custom: {
    50: '#618259',
    500: '#20511a',
    950: '#000000',
  },
}
SCSS
$custom: #20511a;
$custom-light: #618259;
$custom-dark: #000000;
JSON
{
  "hex": "#20511a",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 26
  },
  "hsl": {
    "h": 113.455,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.38757,
    "c": 0.1003,
    "h": 141.5
  },
  "luminance": 0.06267
}

Semantic roles & 50–950 ramp

primary
#20511A
secondary
#7F4087
accent
#4DDBCB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #20511A

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

Preview Lab → · Contrast checker → · Palette generator →

#20511A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva