#21882D#21882D

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

Color values

HEX#21882D
RGBrgb(33, 136, 45)
HSLhsl(127, 61%, 33%)
HSVhsv(127, 76%, 53%)
CMYKcmyk(75.7%, 0%, 66.9%, 46.7%)
CIE-LABlab(49.64, -47.65, 39.43)
CIE-LCHlch(49.64, 61.85, 140.39°)
OKLaboklab(55.01% -0.1288 0.0915)
OKLCHoklch(55.01% 0.158 144.6)
XYZxyz(9.9043, 18.1200, 5.4576)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21882D #88217C
analogous
#488821 #21882D #218860
triadic
#21882D #2D2188 #882D21
tetradic
#21882D #214888 #88217C #886021
square
#21882D #214888 #88217C #886021
split-complementary
#21882D #602188 #882148
monochromatic
#09250C #15571D #21882D #2DB93D #4FD45F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21882D#FFFFFF#000000##000000
##21882D1.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)
#8A7B22
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21882d;
/* rgb */ color: rgb(33, 136, 45);
/* oklch */ color: oklch(55.0% 0.158 144.6);
Tailwind
colors: {
  custom: {
    50: '#6eac6a',
    500: '#21882d',
    950: '#000000',
  },
}
SCSS
$custom: #21882d;
$custom-light: #6eac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#21882d",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 126.99,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.15796,
    "h": 144.6
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

primary
#21882D
secondary
#B84DAB
accent
#44D1E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21882D

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

Preview Lab → · Contrast checker → · Palette generator →

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