#22821E#22821E

#22821E is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.161 H 142.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#22821E
RGBrgb(34, 130, 30)
HSLhsl(118, 63%, 31%)
HSVhsv(118, 77%, 51%)
CMYKcmyk(73.8%, 0%, 76.9%, 49%)
CIE-LABlab(47.49, -46.83, 43.40)
CIE-LCHlch(47.49, 63.85, 137.18°)
OKLaboklab(53.2% -0.1273 0.0979)
OKLCHoklch(53.2% 0.161 142.4)
XYZxyz(8.8761, 16.3981, 3.9254)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22821E #7E1E82
analogous
#54821E #22821E #1E824C
triadic
#22821E #1E2282 #821E22
tetradic
#22821E #1E5482 #7E1E82 #824C1E
square
#22821E #1E5482 #7E1E82 #824C1E
split-complementary
#22821E #4C1E82 #821E54
monochromatic
#081F07 #155013 #22821E #2FB429 #4CD446

Accessibility & contrast

On white

4.91
#22821E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#22821E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #22821E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22821E#FFFFFF#000000##FFFFFF
##22821E1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857509
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#027E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #22821e;
/* rgb */ color: rgb(34, 130, 30);
/* oklch */ color: oklch(53.2% 0.161 142.4);
Tailwind
colors: {
  custom: {
    50: '#6da761',
    500: '#22821e',
    950: '#000000',
  },
}
SCSS
$custom: #22821e;
$custom-light: #6da761;
$custom-dark: #000000;
JSON
{
  "hex": "#22821e",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 117.6,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53198,
    "c": 0.16062,
    "h": 142.4
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#22821E
secondary
#B147B5
accent
#42E6DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #22821E

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

Preview Lab → · Contrast checker → · Palette generator →

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