#20841E#20841E

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

Color values

HEX#20841E
RGBrgb(32, 132, 30)
HSLhsl(119, 63%, 32%)
HSVhsv(119, 77%, 52%)
CMYKcmyk(75.8%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.14, -47.88, 44.03)
CIE-LCHlch(48.14, 65.04, 137.40°)
OKLaboklab(53.72% -0.1301 0.0992)
OKLCHoklch(53.72% 0.164 142.7)
XYZxyz(9.0807, 16.9023, 4.0119)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20841E #821E84
analogous
#53841E #20841E #1E844F
triadic
#20841E #1E2084 #841E20
tetradic
#20841E #1E5384 #821E84 #844F1E
square
#20841E #1E5384 #821E84 #844F1E
split-complementary
#20841E #4F1E84 #841E53
monochromatic
#082007 #145213 #20841E #2CB629 #4AD547

Accessibility & contrast

On white

4.79
#20841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #20841E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20841E#FFFFFF#000000##FFFFFF
##20841E1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #20841e;
/* rgb */ color: rgb(32, 132, 30);
/* oklch */ color: oklch(53.7% 0.164 142.7);
Tailwind
colors: {
  custom: {
    50: '#6da961',
    500: '#20841e',
    950: '#000000',
  },
}
SCSS
$custom: #20841e;
$custom-light: #6da961;
$custom-dark: #000000;
JSON
{
  "hex": "#20841e",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 118.824,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5372,
    "c": 0.16359,
    "h": 142.7
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#20841E
secondary
#B547B7
accent
#42E6E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #20841E

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

Preview Lab → · Contrast checker → · Palette generator →

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