#21822F#21822F

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

Color values

HEX#21822F
RGBrgb(33, 130, 47)
HSLhsl(129, 60%, 32%)
HSVhsv(129, 75%, 51%)
CMYKcmyk(74.6%, 0%, 63.8%, 49%)
CIE-LABlab(47.61, -45.28, 36.24)
CIE-LCHlch(47.61, 57.99, 141.33°)
OKLaboklab(53.34% -0.1222 0.0849)
OKLCHoklch(53.34% 0.149 145.2)
XYZxyz(9.1223, 16.4928, 5.3914)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21822F #822174
analogous
#448221 #21822F #218260
triadic
#21822F #2F2182 #822F21
tetradic
#21822F #214482 #822174 #826021
square
#21822F #214482 #822174 #826021
split-complementary
#21822F #602182 #822144
monochromatic
#08200C #15511D #21822F #2DB341 #4CD25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21822F#FFFFFF#000000##FFFFFF
##21822F1.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)
#847626
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #21822f;
/* rgb */ color: rgb(33, 130, 47);
/* oklch */ color: oklch(53.3% 0.149 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ca76b',
    500: '#21822f',
    950: '#000000',
  },
}
SCSS
$custom: #21822f;
$custom-light: #6ca76b;
$custom-dark: #000000;
JSON
{
  "hex": "#21822f",
  "rgb": {
    "r": 33,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 128.66,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.14883,
    "h": 145.2
  },
  "luminance": 0.16494
}

Semantic roles & 50–950 ramp

primary
#21822F
secondary
#B44AA5
accent
#45CCE3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #21822F

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

Preview Lab → · Contrast checker → · Palette generator →

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