#20891B#20891B

#20891B is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.171 H 142.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#20891B
RGBrgb(32, 137, 27)
HSLhsl(117, 67%, 32%)
HSVhsv(117, 80%, 54%)
CMYKcmyk(76.6%, 0%, 80.3%, 46.3%)
CIE-LABlab(49.83, -49.78, 46.73)
CIE-LCHlch(49.83, 68.28, 136.81°)
OKLaboklab(55.12% -0.1354 0.1044)
OKLCHoklch(55.12% 0.171 142.4)
XYZxyz(9.7386, 18.2764, 4.0512)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20891B #841B89
analogous
#57891B #20891B #1B894D
triadic
#20891B #1B2089 #891B20
tetradic
#20891B #1B5789 #841B89 #894D1B
square
#20891B #1B5789 #841B89 #894D1B
split-complementary
#20891B #4D1B89 #891B57
monochromatic
#082307 #145611 #20891B #2CBC25 #4BDA44

Accessibility & contrast

On white

4.51
#20891B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#20891B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20891B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20891B#FFFFFF#000000##000000
##20891B1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817328
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #20891b;
/* rgb */ color: rgb(32, 137, 27);
/* oklch */ color: oklch(55.1% 0.171 142.4);
Tailwind
colors: {
  custom: {
    50: '#6fac61',
    500: '#20891b',
    950: '#000000',
  },
}
SCSS
$custom: #20891b;
$custom-light: #6fac61;
$custom-dark: #000000;
JSON
{
  "hex": "#20891b",
  "rgb": {
    "r": 32,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 117.273,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.17097,
    "h": 142.4
  },
  "luminance": 0.18278
}

Semantic roles & 50–950 ramp

primary
#20891B
secondary
#B644BC
accent
#3EEAE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #20891B

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

Preview Lab → · Contrast checker → · Palette generator →

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