#21882B#21882B

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

Color values

HEX#21882B
RGBrgb(33, 136, 43)
HSLhsl(126, 61%, 33%)
HSVhsv(126, 76%, 53%)
CMYKcmyk(75.7%, 0%, 68.4%, 46.7%)
CIE-LABlab(49.62, -47.87, 40.30)
CIE-LCHlch(49.62, 62.58, 139.90°)
OKLaboklab(54.99% -0.1295 0.0931)
OKLCHoklch(54.99% 0.159 144.3)
XYZxyz(9.8668, 18.1049, 5.2596)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21882B #88217E
analogous
#4A8821 #21882B #21885E
triadic
#21882B #2B2188 #882B21
tetradic
#21882B #214A88 #88217E #885E21
square
#21882B #214A88 #88217E #885E21
split-complementary
#21882B #5E2188 #88214A
monochromatic
#09250C #15571B #21882B #2DB93B #4FD45C

Accessibility & contrast

On white

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

On black

4.62
#21882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21882B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21882B#FFFFFF#000000##000000
##21882B1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21882b;
/* rgb */ color: rgb(33, 136, 43);
/* oklch */ color: oklch(55.0% 0.159 144.3);
Tailwind
colors: {
  custom: {
    50: '#6eac69',
    500: '#21882b',
    950: '#000000',
  },
}
SCSS
$custom: #21882b;
$custom-light: #6eac69;
$custom-dark: #000000;
JSON
{
  "hex": "#21882b",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 125.825,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.15946,
    "h": 144.3
  },
  "luminance": 0.18106
}

Semantic roles & 50–950 ramp

primary
#21882B
secondary
#B84DAD
accent
#44D5E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21882B

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

Preview Lab → · Contrast checker → · Palette generator →

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