#20862A#20862A

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

Color values

HEX#20862A
RGBrgb(32, 134, 42)
HSLhsl(126, 61%, 33%)
HSVhsv(126, 76%, 53%)
CMYKcmyk(76.1%, 0%, 68.7%, 47.5%)
CIE-LABlab(48.91, -47.45, 39.97)
CIE-LCHlch(48.91, 62.04, 139.89°)
OKLaboklab(54.39% -0.1283 0.0923)
OKLCHoklch(54.39% 0.158 144.3)
XYZxyz(9.5380, 17.5233, 5.0697)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20862A #86207C
analogous
#498620 #20862A #20865D
triadic
#20862A #2A2086 #862A20
tetradic
#20862A #204986 #86207C #865D20
square
#20862A #204986 #86207C #865D20
split-complementary
#20862A #5D2086 #862049
monochromatic
#08230B #14551B #20862A #2CB739 #4CD459

Accessibility & contrast

On white

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

On black

4.50
#20862A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##20862A#FFFFFF#000000##FFFFFF
##20862A1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #20862a;
/* rgb */ color: rgb(32, 134, 42);
/* oklch */ color: oklch(54.4% 0.158 144.3);
Tailwind
colors: {
  custom: {
    50: '#6daa68',
    500: '#20862a',
    950: '#000000',
  },
}
SCSS
$custom: #20862a;
$custom-light: #6daa68;
$custom-dark: #000000;
JSON
{
  "hex": "#20862a",
  "rgb": {
    "r": 32,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 125.882,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54394,
    "c": 0.15805,
    "h": 144.3
  },
  "luminance": 0.17524
}

Semantic roles & 50–950 ramp

primary
#20862A
secondary
#B74BAD
accent
#43D5E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #20862A

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

Preview Lab → · Contrast checker → · Palette generator →

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