#20841B#20841B

#20841B is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.165 H 142.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#20841B
RGBrgb(32, 132, 27)
HSLhsl(117, 66%, 31%)
HSVhsv(117, 80%, 52%)
CMYKcmyk(75.8%, 0%, 79.5%, 48.2%)
CIE-LABlab(48.12, -48.10, 45.08)
CIE-LCHlch(48.12, 65.92, 136.86°)
OKLaboklab(53.7% -0.1308 0.101)
OKLCHoklch(53.7% 0.165 142.3)
XYZxyz(9.0442, 16.8877, 3.8197)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20841B #7F1B84
analogous
#54841B #20841B #1B844A
triadic
#20841B #1B2084 #841B20
tetradic
#20841B #1B5484 #7F1B84 #844A1B
square
#20841B #1B5484 #7F1B84 #844A1B
split-complementary
#20841B #4A1B84 #841B54
monochromatic
#071E06 #145111 #20841B #2CB725 #48D841

Accessibility & contrast

On white

4.80
#20841B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#20841B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20841B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20841B#FFFFFF#000000##FFFFFF
##20841B1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877701
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#008070
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #20841b;
/* rgb */ color: rgb(32, 132, 27);
/* oklch */ color: oklch(53.7% 0.165 142.3);
Tailwind
colors: {
  custom: {
    50: '#6da960',
    500: '#20841b',
    950: '#000000',
  },
}
SCSS
$custom: #20841b;
$custom-light: #6da960;
$custom-dark: #000000;
JSON
{
  "hex": "#20841b",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 117.143,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53699,
    "c": 0.16526,
    "h": 142.3
  },
  "luminance": 0.16889
}

Semantic roles & 50–950 ramp

primary
#20841B
secondary
#B243B7
accent
#3FE9E1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #20841B

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

Preview Lab → · Contrast checker → · Palette generator →

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