#20842D#20842D

#20842D is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.153 H 144.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#20842D
RGBrgb(32, 132, 45)
HSLhsl(128, 61%, 32%)
HSVhsv(128, 76%, 52%)
CMYKcmyk(75.8%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.26, -46.41, 37.89)
CIE-LCHlch(48.26, 59.91, 140.77°)
OKLaboklab(53.86% -0.1253 0.0882)
OKLCHoklch(53.86% 0.153 144.9)
XYZxyz(9.3199, 16.9980, 5.2719)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20842D #842077
analogous
#458420 #20842D #20845F
triadic
#20842D #2D2084 #842D20
tetradic
#20842D #204584 #842077 #845F20
square
#20842D #204584 #842077 #845F20
split-complementary
#20842D #5F2084 #842045
monochromatic
#08210B #14531C #20842D #2CB53E #4BD35D

Accessibility & contrast

On white

4.77
#20842D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#20842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20842D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20842D#FFFFFF#000000##FFFFFF
##20842D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#7B6F35
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20842d;
/* rgb */ color: rgb(32, 132, 45);
/* oklch */ color: oklch(53.9% 0.153 144.9);
Tailwind
colors: {
  custom: {
    50: '#6ca96a',
    500: '#20842d',
    950: '#000000',
  },
}
SCSS
$custom: #20842d;
$custom-light: #6ca96a;
$custom-dark: #000000;
JSON
{
  "hex": "#20842d",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 127.8,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53859,
    "c": 0.15328,
    "h": 144.9
  },
  "luminance": 0.16999
}

Semantic roles & 50–950 ramp

primary
#20842D
secondary
#B64AA8
accent
#44CFE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20842D

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

Preview Lab → · Contrast checker → · Palette generator →

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