#21822D#21822D

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

Color values

HEX#21822D
RGBrgb(33, 130, 45)
HSLhsl(127, 60%, 32%)
HSVhsv(127, 75%, 51%)
CMYKcmyk(74.6%, 0%, 65.4%, 49%)
CIE-LABlab(47.59, -45.52, 37.16)
CIE-LCHlch(47.59, 58.76, 140.77°)
OKLaboklab(53.32% -0.123 0.0867)
OKLCHoklch(53.32% 0.15 144.8)
XYZxyz(9.0829, 16.4770, 5.1838)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21822D #822176
analogous
#458221 #21822D #21825E
triadic
#21822D #2D2182 #822D21
tetradic
#21822D #214582 #822176 #825E21
square
#21822D #214582 #822176 #825E21
split-complementary
#21822D #5E2182 #822145
monochromatic
#08200B #15511C #21822D #2DB33E #4CD25C

Accessibility & contrast

On white

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

On black

4.30
#21822D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21822D#FFFFFF#000000##FFFFFF
##21822D1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847623
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21822d;
/* rgb */ color: rgb(33, 130, 45);
/* oklch */ color: oklch(53.3% 0.150 144.8);
Tailwind
colors: {
  custom: {
    50: '#6ca76a',
    500: '#21822d',
    950: '#000000',
  },
}
SCSS
$custom: #21822d;
$custom-light: #6ca76a;
$custom-dark: #000000;
JSON
{
  "hex": "#21822d",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 127.423,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53315,
    "c": 0.15045,
    "h": 144.8
  },
  "luminance": 0.16478
}

Semantic roles & 50–950 ramp

primary
#21822D
secondary
#B44AA7
accent
#45CFE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21822D

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

Preview Lab → · Contrast checker → · Palette generator →

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