#21822A#21822A

#21822A is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.153 H 144.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#21822A
RGBrgb(33, 130, 42)
HSLhsl(126, 60%, 32%)
HSVhsv(126, 75%, 51%)
CMYKcmyk(74.6%, 0%, 67.7%, 49%)
CIE-LABlab(47.57, -45.86, 38.50)
CIE-LCHlch(47.57, 59.88, 139.99°)
OKLaboklab(53.28% -0.1241 0.0892)
OKLCHoklch(53.28% 0.153 144.3)
XYZxyz(9.0272, 16.4547, 4.8904)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21822A #822179
analogous
#498221 #21822A #21825B
triadic
#21822A #2A2182 #822A21
tetradic
#21822A #214982 #822179 #825B21
square
#21822A #214982 #822179 #825B21
split-complementary
#21822A #5B2182 #822149
monochromatic
#08200A #15511A #21822A #2DB33A #4CD258

Accessibility & contrast

On white

4.89
#21822A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#21822A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21822A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21822A#FFFFFF#000000##FFFFFF
##21822A1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84761F
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21822a;
/* rgb */ color: rgb(33, 130, 42);
/* oklch */ color: oklch(53.3% 0.153 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ca768',
    500: '#21822a',
    950: '#000000',
  },
}
SCSS
$custom: #21822a;
$custom-light: #6ca768;
$custom-dark: #000000;
JSON
{
  "hex": "#21822a",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 125.567,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.15279,
    "h": 144.3
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#21822A
secondary
#B44AAB
accent
#45D4E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21822A

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

Preview Lab → · Contrast checker → · Palette generator →

#21822A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva