#20842E#20842E

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

Color values

HEX#20842E
RGBrgb(32, 132, 46)
HSLhsl(128, 61%, 32%)
HSVhsv(128, 76%, 52%)
CMYKcmyk(75.8%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.27, -46.29, 37.44)
CIE-LCHlch(48.27, 59.53, 141.03°)
OKLaboklab(53.87% -0.125 0.0874)
OKLCHoklch(53.87% 0.152 145)
XYZxyz(9.3394, 17.0058, 5.3745)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20842E #842076
analogous
#448420 #20842E #208460
triadic
#20842E #2E2084 #842E20
tetradic
#20842E #204484 #842076 #846020
square
#20842E #204484 #842076 #846020
split-complementary
#20842E #602084 #842044
monochromatic
#08210C #14531D #20842E #2CB53F #4BD35E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20842E#FFFFFF#000000##FFFFFF
##20842E1.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)
#867724
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20842e;
/* rgb */ color: rgb(32, 132, 46);
/* oklch */ color: oklch(53.9% 0.152 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ca96a',
    500: '#20842e',
    950: '#000000',
  },
}
SCSS
$custom: #20842e;
$custom-light: #6ca96a;
$custom-dark: #000000;
JSON
{
  "hex": "#20842e",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 128.4,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53871,
    "c": 0.15249,
    "h": 145
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#20842E
secondary
#B64AA7
accent
#44CEE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20842E

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

Preview Lab → · Contrast checker → · Palette generator →

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