#20812E#20812E

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

Color values

HEX#20812E
RGBrgb(32, 129, 46)
HSLhsl(129, 60%, 32%)
HSVhsv(129, 75%, 51%)
CMYKcmyk(75.2%, 0%, 64.3%, 49.4%)
CIE-LABlab(47.24, -45.21, 36.28)
CIE-LCHlch(47.24, 57.97, 141.25°)
OKLaboklab(53.02% -0.1221 0.0849)
OKLCHoklch(53.02% 0.149 145.2)
XYZxyz(8.9384, 16.2038, 5.2408)
Luminance0.1620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20812E #812073
analogous
#438120 #20812E #20815F
triadic
#20812E #2E2081 #812E20
tetradic
#20812E #204381 #812073 #815F20
square
#20812E #204381 #812073 #815F20
split-complementary
#20812E #5F2081 #812043
monochromatic
#081F0B #14501D #20812E #2CB23F #49D25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20812E#FFFFFF#000000##FFFFFF
##20812E1.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)
#837525
Deuteranopia (green-blind)
#786D35
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #20812e;
/* rgb */ color: rgb(32, 129, 46);
/* oklch */ color: oklch(53.0% 0.149 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ca76a',
    500: '#20812e',
    950: '#000000',
  },
}
SCSS
$custom: #20812e;
$custom-light: #6ca76a;
$custom-dark: #000000;
JSON
{
  "hex": "#20812e",
  "rgb": {
    "r": 32,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 128.66,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.14869,
    "h": 145.2
  },
  "luminance": 0.16205
}

Semantic roles & 50–950 ramp

primary
#20812E
secondary
#B449A4
accent
#44CCE3
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F07
muted
#7A7F7A

Preview Lab

Preview with #20812E

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

Preview Lab → · Contrast checker → · Palette generator →

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