#21822C#21822C

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

Color values

HEX#21822C
RGBrgb(33, 130, 44)
HSLhsl(127, 60%, 32%)
HSVhsv(127, 75%, 51%)
CMYKcmyk(74.6%, 0%, 66.2%, 49%)
CIE-LABlab(47.58, -45.64, 37.61)
CIE-LCHlch(47.58, 59.14, 140.51°)
OKLaboklab(53.3% -0.1234 0.0875)
OKLCHoklch(53.3% 0.151 144.6)
XYZxyz(9.0638, 16.4694, 5.0836)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21822C #822177
analogous
#478221 #21822C #21825D
triadic
#21822C #2C2182 #822C21
tetradic
#21822C #214782 #822177 #825D21
square
#21822C #214782 #822177 #825D21
split-complementary
#21822C #5D2182 #822147
monochromatic
#08200B #15511B #21822C #2DB33D #4CD25B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21822C#FFFFFF#000000##FFFFFF
##21822C1.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)
#847622
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21822c;
/* rgb */ color: rgb(33, 130, 44);
/* oklch */ color: oklch(53.3% 0.151 144.6);
Tailwind
colors: {
  custom: {
    50: '#6ca769',
    500: '#21822c',
    950: '#000000',
  },
}
SCSS
$custom: #21822c;
$custom-light: #6ca769;
$custom-dark: #000000;
JSON
{
  "hex": "#21822c",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 126.804,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53304,
    "c": 0.15125,
    "h": 144.6
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#21822C
secondary
#B44AA8
accent
#45D1E3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #21822C

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

Preview Lab → · Contrast checker → · Palette generator →

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