#20842C#20842C

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

Color values

HEX#20842C
RGBrgb(32, 132, 44)
HSLhsl(127, 61%, 32%)
HSVhsv(127, 76%, 52%)
CMYKcmyk(75.8%, 0%, 66.7%, 48.2%)
CIE-LABlab(48.25, -46.52, 38.34)
CIE-LCHlch(48.25, 60.29, 140.51°)
OKLaboklab(53.85% -0.1257 0.0891)
OKLCHoklch(53.85% 0.154 144.7)
XYZxyz(9.3009, 16.9904, 5.1717)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20842C #842078
analogous
#468420 #20842C #20845E
triadic
#20842C #2C2084 #842C20
tetradic
#20842C #204684 #842078 #845E20
square
#20842C #204684 #842078 #845E20
split-complementary
#20842C #5E2084 #842046
monochromatic
#08210B #14531C #20842C #2CB53C #4BD35B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20842C#FFFFFF#000000##FFFFFF
##20842C1.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)
#867721
Deuteranopia (green-blind)
#7B6F34
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #20842c;
/* rgb */ color: rgb(32, 132, 44);
/* oklch */ color: oklch(53.8% 0.154 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ca969',
    500: '#20842c',
    950: '#000000',
  },
}
SCSS
$custom: #20842c;
$custom-light: #6ca969;
$custom-dark: #000000;
JSON
{
  "hex": "#20842c",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 127.2,
    "s": 60.976,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53848,
    "c": 0.15406,
    "h": 144.7
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#20842C
secondary
#B64AA9
accent
#44D1E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #20842C

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

Preview Lab → · Contrast checker → · Palette generator →

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