#21882C#21882C

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

Color values

HEX#21882C
RGBrgb(33, 136, 44)
HSLhsl(126, 61%, 33%)
HSVhsv(126, 76%, 53%)
CMYKcmyk(75.7%, 0%, 67.6%, 46.7%)
CIE-LABlab(49.63, -47.76, 39.87)
CIE-LCHlch(49.63, 62.22, 140.14°)
OKLaboklab(55% -0.1291 0.0923)
OKLCHoklch(55% 0.159 144.4)
XYZxyz(9.8853, 18.1124, 5.3574)
Luminance0.1811 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21882C #88217D
analogous
#498821 #21882C #21885F
triadic
#21882C #2C2188 #882C21
tetradic
#21882C #214988 #88217D #885F21
square
#21882C #214988 #88217D #885F21
split-complementary
#21882C #5F2188 #882149
monochromatic
#09250C #15571C #21882C #2DB93C #4FD45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21882C#FFFFFF#000000##000000
##21882C1.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)
#8B7B20
Deuteranopia (green-blind)
#7F7334
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21882c;
/* rgb */ color: rgb(33, 136, 44);
/* oklch */ color: oklch(55.0% 0.159 144.4);
Tailwind
colors: {
  custom: {
    50: '#6eac6a',
    500: '#21882c',
    950: '#000000',
  },
}
SCSS
$custom: #21882c;
$custom-light: #6eac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#21882c",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 126.408,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55002,
    "c": 0.15872,
    "h": 144.4
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#21882C
secondary
#B84DAC
accent
#44D3E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21882C

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

Preview Lab → · Contrast checker → · Palette generator →

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