#20862C#20862C

#20862C is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.157 H 144.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#20862C
RGBrgb(32, 134, 44)
HSLhsl(127, 61%, 33%)
HSVhsv(127, 76%, 53%)
CMYKcmyk(76.1%, 0%, 67.2%, 47.5%)
CIE-LABlab(48.93, -47.23, 39.10)
CIE-LCHlch(48.93, 61.31, 140.38°)
OKLaboklab(54.42% -0.1276 0.0907)
OKLCHoklch(54.42% 0.157 144.6)
XYZxyz(9.5747, 17.5380, 5.2630)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20862C #86207A
analogous
#478620 #20862C #20865F
triadic
#20862C #2C2086 #862C20
tetradic
#20862C #204786 #86207A #865F20
square
#20862C #204786 #86207A #865F20
split-complementary
#20862C #5F2086 #862047
monochromatic
#08230C #14551C #20862C #2CB73C #4CD45C

Accessibility & contrast

On white

4.66
#20862C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#20862C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #20862C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20862C#FFFFFF#000000##FFFFFF
##20862C1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887921
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20862c;
/* rgb */ color: rgb(32, 134, 44);
/* oklch */ color: oklch(54.4% 0.157 144.6);
Tailwind
colors: {
  custom: {
    50: '#6daa69',
    500: '#20862c',
    950: '#000000',
  },
}
SCSS
$custom: #20862c;
$custom-light: #6daa69;
$custom-dark: #000000;
JSON
{
  "hex": "#20862c",
  "rgb": {
    "r": 32,
    "g": 134,
    "b": 44
  },
  "hsl": {
    "h": 127.059,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54415,
    "c": 0.15654,
    "h": 144.6
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#20862C
secondary
#B74BAA
accent
#43D2E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #20862C

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

Preview Lab → · Contrast checker → · Palette generator →

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