#20862D#20862D

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

Color values

HEX#20862D
RGBrgb(32, 134, 45)
HSLhsl(128, 61%, 33%)
HSVhsv(128, 76%, 53%)
CMYKcmyk(76.1%, 0%, 66.4%, 47.5%)
CIE-LABlab(48.94, -47.11, 38.65)
CIE-LCHlch(48.94, 60.94, 140.63°)
OKLaboklab(54.43% -0.1273 0.0898)
OKLCHoklch(54.43% 0.156 144.8)
XYZxyz(9.5938, 17.5456, 5.3631)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20862D #862079
analogous
#468620 #20862D #208660
triadic
#20862D #2D2086 #862D20
tetradic
#20862D #204686 #862079 #866020
square
#20862D #204686 #862079 #866020
split-complementary
#20862D #602086 #862046
monochromatic
#08230C #14551C #20862D #2CB73E #4CD45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20862D#FFFFFF#000000##FFFFFF
##20862D1.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)
#887922
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20862d;
/* rgb */ color: rgb(32, 134, 45);
/* oklch */ color: oklch(54.4% 0.156 144.8);
Tailwind
colors: {
  custom: {
    50: '#6daa6a',
    500: '#20862d',
    950: '#000000',
  },
}
SCSS
$custom: #20862d;
$custom-light: #6daa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#20862d",
  "rgb": {
    "r": 32,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 127.647,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54426,
    "c": 0.15578,
    "h": 144.8
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#20862D
secondary
#B74BA9
accent
#43D0E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20862D

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

Preview Lab → · Contrast checker → · Palette generator →

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