#21881D#21881D

#21881D is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.168 H 142.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#21881D
RGBrgb(33, 136, 29)
HSLhsl(118, 65%, 32%)
HSVhsv(118, 79%, 53%)
CMYKcmyk(75.7%, 0%, 78.7%, 46.7%)
CIE-LABlab(49.52, -49.13, 45.76)
CIE-LCHlch(49.52, 67.14, 137.04°)
OKLaboklab(54.87% -0.1336 0.1027)
OKLCHoklch(54.87% 0.168 142.5)
XYZxyz(9.6526, 18.0193, 4.1315)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21881D #841D88
analogous
#57881D #21881D #1D884F
triadic
#21881D #1D2188 #881D21
tetradic
#21881D #1D5788 #841D88 #884F1D
square
#21881D #1D5788 #841D88 #884F1D
split-complementary
#21881D #4F1D88 #881D57
monochromatic
#092307 #155612 #21881D #2DBA28 #4DD848

Accessibility & contrast

On white

4.56
#21881D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#21881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21881D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21881D#FFFFFF#000000##000000
##21881D1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B03
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21881d;
/* rgb */ color: rgb(33, 136, 29);
/* oklch */ color: oklch(54.9% 0.168 142.5);
Tailwind
colors: {
  custom: {
    50: '#6fac62',
    500: '#21881d',
    950: '#000000',
  },
}
SCSS
$custom: #21881d;
$custom-light: #6fac62;
$custom-dark: #000000;
JSON
{
  "hex": "#21881d",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 117.757,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.16848,
    "h": 142.5
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

primary
#21881D
secondary
#B647BA
accent
#40E8E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #21881D

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

Preview Lab → · Contrast checker → · Palette generator →

#21881D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva