#20841F#20841F

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

Color values

HEX#20841F
RGBrgb(32, 132, 31)
HSLhsl(119, 62%, 32%)
HSVhsv(119, 77%, 52%)
CMYKcmyk(75.8%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.14, -47.79, 43.66)
CIE-LCHlch(48.14, 64.74, 137.59°)
OKLaboklab(53.73% -0.1298 0.0986)
OKLCHoklch(53.73% 0.163 142.8)
XYZxyz(9.0937, 16.9075, 4.0803)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20841F #831F84
analogous
#53841F #20841F #1F8451
triadic
#20841F #1F2084 #841F20
tetradic
#20841F #1F5384 #831F84 #84511F
square
#20841F #1F5384 #831F84 #84511F
split-complementary
#20841F #511F84 #841F53
monochromatic
#082108 #145213 #20841F #2CB62B #4AD449

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20841F#FFFFFF#000000##FFFFFF
##20841F1.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)
#87770B
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #20841f;
/* rgb */ color: rgb(32, 132, 31);
/* oklch */ color: oklch(53.7% 0.163 142.8);
Tailwind
colors: {
  custom: {
    50: '#6da962',
    500: '#20841f',
    950: '#000000',
  },
}
SCSS
$custom: #20841f;
$custom-light: #6da962;
$custom-dark: #000000;
JSON
{
  "hex": "#20841f",
  "rgb": {
    "r": 32,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 119.406,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53728,
    "c": 0.163,
    "h": 142.8
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#20841F
secondary
#B648B7
accent
#43E5E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #20841F

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

Preview Lab → · Contrast checker → · Palette generator →

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