#20812A#20812A

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

Color values

HEX#20812A
RGBrgb(32, 129, 42)
HSLhsl(126, 60%, 32%)
HSVhsv(126, 75%, 51%)
CMYKcmyk(75.2%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.20, -45.68, 38.10)
CIE-LCHlch(47.20, 59.48, 140.17°)
OKLaboklab(52.97% -0.1235 0.0883)
OKLCHoklch(52.97% 0.152 144.4)
XYZxyz(8.8633, 16.1738, 4.8448)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20812A #812077
analogous
#478120 #20812A #20815B
triadic
#20812A #2A2081 #812A20
tetradic
#20812A #204781 #812077 #815B20
square
#20812A #204781 #812077 #815B20
split-complementary
#20812A #5B2081 #812047
monochromatic
#081F0A #14501A #20812A #2CB23A #49D258

Accessibility & contrast

On white

4.96
#20812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#20812A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20812A
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20812A#FFFFFF#000000##FFFFFF
##20812A1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83751F
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20812a;
/* rgb */ color: rgb(32, 129, 42);
/* oklch */ color: oklch(53.0% 0.152 144.4);
Tailwind
colors: {
  custom: {
    50: '#6ca768',
    500: '#20812a',
    950: '#000000',
  },
}
SCSS
$custom: #20812a;
$custom-light: #6ca768;
$custom-dark: #000000;
JSON
{
  "hex": "#20812a",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 126.186,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52974,
    "c": 0.15186,
    "h": 144.4
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#20812A
secondary
#B449A9
accent
#44D3E3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #20812A

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

Preview Lab → · Contrast checker → · Palette generator →

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