#21882F#21882F

#21882F is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.0% C 0.156 H 145.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#21882F
RGBrgb(33, 136, 47)
HSLhsl(128, 61%, 33%)
HSVhsv(128, 76%, 53%)
CMYKcmyk(75.7%, 0%, 65.4%, 46.7%)
CIE-LABlab(49.66, -47.42, 38.54)
CIE-LCHlch(49.66, 61.11, 140.90°)
OKLaboklab(55.04% -0.1281 0.0898)
OKLCHoklch(55.04% 0.156 145)
XYZxyz(9.9438, 18.1358, 5.6653)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21882F #88217A
analogous
#468821 #21882F #218862
triadic
#21882F #2F2188 #882F21
tetradic
#21882F #214688 #88217A #886221
square
#21882F #214688 #88217A #886221
split-complementary
#21882F #622188 #882146
monochromatic
#09250D #15571E #21882F #2DB940 #4FD461

Accessibility & contrast

On white

4.54
#21882F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#21882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21882F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21882F#FFFFFF#000000##000000
##21882F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B24
Deuteranopia (green-blind)
#7F7337
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21882f;
/* rgb */ color: rgb(33, 136, 47);
/* oklch */ color: oklch(55.0% 0.156 145.0);
Tailwind
colors: {
  custom: {
    50: '#6eac6b',
    500: '#21882f',
    950: '#000000',
  },
}
SCSS
$custom: #21882f;
$custom-light: #6eac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#21882f",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 128.155,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55035,
    "c": 0.15641,
    "h": 145
  },
  "luminance": 0.18137
}

Semantic roles & 50–950 ramp

primary
#21882F
secondary
#B84DA9
accent
#44CEE4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21882F

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

Preview Lab → · Contrast checker → · Palette generator →

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