#20862B#20862B

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

Color values

HEX#20862B
RGBrgb(32, 134, 43)
HSLhsl(126, 61%, 33%)
HSVhsv(126, 76%, 53%)
CMYKcmyk(76.1%, 0%, 67.9%, 47.5%)
CIE-LABlab(48.92, -47.34, 39.53)
CIE-LCHlch(48.92, 61.67, 140.13°)
OKLaboklab(54.4% -0.128 0.0915)
OKLCHoklch(54.4% 0.157 144.4)
XYZxyz(9.5562, 17.5306, 5.1651)
Luminance0.1753 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20862B #86207B
analogous
#488620 #20862B #20865E
triadic
#20862B #2B2086 #862B20
tetradic
#20862B #204886 #86207B #865E20
square
#20862B #204886 #86207B #865E20
split-complementary
#20862B #5E2086 #862048
monochromatic
#08230B #14551B #20862B #2CB73B #4CD45B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20862B#FFFFFF#000000##FFFFFF
##20862B1.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)
#89791F
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#20862B
secondary
#B74BAB
accent
#43D3E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #20862B

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

Preview Lab → · Contrast checker → · Palette generator →

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