#20812D#20812D

#20812D is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.0% C 0.149 H 145.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#20812D
RGBrgb(32, 129, 45)
HSLhsl(128, 60%, 32%)
HSVhsv(128, 75%, 51%)
CMYKcmyk(75.2%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.23, -45.33, 36.74)
CIE-LCHlch(47.23, 58.36, 140.97°)
OKLaboklab(53.01% -0.1224 0.0858)
OKLCHoklch(53.01% 0.15 145)
XYZxyz(8.9190, 16.1960, 5.1382)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20812D #812074
analogous
#448120 #20812D #20815E
triadic
#20812D #2D2081 #812D20
tetradic
#20812D #204481 #812074 #815E20
square
#20812D #204481 #812074 #815E20
split-complementary
#20812D #5E2081 #812044
monochromatic
#081F0B #14501C #20812D #2CB23E #49D25C

Accessibility & contrast

On white

4.95
#20812D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#20812D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20812D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20812D#FFFFFF#000000##FFFFFF
##20812D1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837523
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20812d;
/* rgb */ color: rgb(32, 129, 45);
/* oklch */ color: oklch(53.0% 0.149 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ca769',
    500: '#20812d',
    950: '#000000',
  },
}
SCSS
$custom: #20812d;
$custom-light: #6ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#20812d",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 128.041,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53008,
    "c": 0.1495,
    "h": 145
  },
  "luminance": 0.16197
}

Semantic roles & 50–950 ramp

primary
#20812D
secondary
#B449A5
accent
#44CEE3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #20812D

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

Preview Lab → · Contrast checker → · Palette generator →

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