#21822E#21822E

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

Color values

HEX#21822E
RGBrgb(33, 130, 46)
HSLhsl(128, 60%, 32%)
HSVhsv(128, 75%, 51%)
CMYKcmyk(74.6%, 0%, 64.6%, 49%)
CIE-LABlab(47.60, -45.40, 36.70)
CIE-LCHlch(47.60, 58.38, 141.05°)
OKLaboklab(53.33% -0.1226 0.0858)
OKLCHoklch(53.33% 0.15 145)
XYZxyz(9.1024, 16.4848, 5.2864)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21822E #822175
analogous
#458221 #21822E #21825F
triadic
#21822E #2E2182 #822E21
tetradic
#21822E #214582 #822175 #825F21
square
#21822E #214582 #822175 #825F21
split-complementary
#21822E #5F2182 #822145
monochromatic
#08200B #15511D #21822E #2DB33F #4CD25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21822E#FFFFFF#000000##FFFFFF
##21822E1.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)
#847624
Deuteranopia (green-blind)
#796E35
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21822e;
/* rgb */ color: rgb(33, 130, 46);
/* oklch */ color: oklch(53.3% 0.150 145.0);
Tailwind
colors: {
  custom: {
    50: '#6ca76a',
    500: '#21822e',
    950: '#000000',
  },
}
SCSS
$custom: #21822e;
$custom-light: #6ca76a;
$custom-dark: #000000;
JSON
{
  "hex": "#21822e",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 46
  },
  "hsl": {
    "h": 128.041,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53327,
    "c": 0.14965,
    "h": 145
  },
  "luminance": 0.16486
}

Semantic roles & 50–950 ramp

primary
#21822E
secondary
#B44AA6
accent
#45CEE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21822E

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

Preview Lab → · Contrast checker → · Palette generator →

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