#21882E#21882E

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

Color values

HEX#21882E
RGBrgb(33, 136, 46)
HSLhsl(128, 61%, 33%)
HSVhsv(128, 76%, 53%)
CMYKcmyk(75.7%, 0%, 66.2%, 46.7%)
CIE-LABlab(49.65, -47.54, 38.99)
CIE-LCHlch(49.65, 61.48, 140.64°)
OKLaboklab(55.02% -0.1284 0.0907)
OKLCHoklch(55.02% 0.157 144.8)
XYZxyz(9.9238, 18.1278, 5.5602)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21882E #88217B
analogous
#478821 #21882E #218861
triadic
#21882E #2E2188 #882E21
tetradic
#21882E #214788 #88217B #886121
square
#21882E #214788 #88217B #886121
split-complementary
#21882E #612188 #882147
monochromatic
#09250D #15571D #21882E #2DB93F #4FD460

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21882E#FFFFFF#000000##000000
##21882E1.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)
#8A7B23
Deuteranopia (green-blind)
#7F7336
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21882e;
/* rgb */ color: rgb(33, 136, 46);
/* oklch */ color: oklch(55.0% 0.157 144.8);
Tailwind
colors: {
  custom: {
    50: '#6eac6b',
    500: '#21882e',
    950: '#000000',
  },
}
SCSS
$custom: #21882e;
$custom-light: #6eac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#21882e",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 46
  },
  "hsl": {
    "h": 127.573,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.15719,
    "h": 144.8
  },
  "luminance": 0.18129
}

Semantic roles & 50–950 ramp

primary
#21882E
secondary
#B84DAA
accent
#44D0E4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21882E

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

Preview Lab → · Contrast checker → · Palette generator →

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