#20862E#20862E

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

Color values

HEX#20862E
RGBrgb(32, 134, 46)
HSLhsl(128, 61%, 33%)
HSVhsv(128, 76%, 53%)
CMYKcmyk(76.1%, 0%, 65.7%, 47.5%)
CIE-LABlab(48.95, -47.00, 38.20)
CIE-LCHlch(48.95, 60.57, 140.89°)
OKLaboklab(54.44% -0.1269 0.089)
OKLCHoklch(54.44% 0.155 145)
XYZxyz(9.6132, 17.5534, 5.4657)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20862E #862078
analogous
#458620 #20862E #208661
triadic
#20862E #2E2086 #862E20
tetradic
#20862E #204586 #862078 #866120
square
#20862E #204586 #862078 #866120
split-complementary
#20862E #612086 #862045
monochromatic
#08230C #14551D #20862E #2CB73F #4CD45F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20862E#FFFFFF#000000##FFFFFF
##20862E1.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)
#887923
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20862e;
/* rgb */ color: rgb(32, 134, 46);
/* oklch */ color: oklch(54.4% 0.155 145.0);
Tailwind
colors: {
  custom: {
    50: '#6daa6b',
    500: '#20862e',
    950: '#000000',
  },
}
SCSS
$custom: #20862e;
$custom-light: #6daa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#20862e",
  "rgb": {
    "r": 32,
    "g": 134,
    "b": 46
  },
  "hsl": {
    "h": 128.235,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54437,
    "c": 0.155,
    "h": 145
  },
  "luminance": 0.17555
}

Semantic roles & 50–950 ramp

primary
#20862E
secondary
#B74BA8
accent
#43CEE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #20862E

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

Preview Lab → · Contrast checker → · Palette generator →

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