#22821C#22821C

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

Color values

HEX#22821C
RGBrgb(34, 130, 28)
HSLhsl(116, 65%, 31%)
HSVhsv(116, 78%, 51%)
CMYKcmyk(73.8%, 0%, 78.5%, 49%)
CIE-LABlab(47.48, -46.98, 44.12)
CIE-LCHlch(47.48, 64.45, 136.80°)
OKLaboklab(53.18% -0.1279 0.0991)
OKLCHoklch(53.18% 0.162 142.2)
XYZxyz(8.8514, 16.3882, 3.7951)
Luminance0.1639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22821C #7C1C82
analogous
#55821C #22821C #1C8249
triadic
#22821C #1C2282 #821C22
tetradic
#22821C #1C5582 #7C1C82 #82491C
square
#22821C #1C5582 #7C1C82 #82491C
split-complementary
#22821C #491C82 #821C55
monochromatic
#081D06 #155011 #22821C #2FB427 #4BD642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22821C#FFFFFF#000000##FFFFFF
##22821C1.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)
#857505
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#037E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #22821c;
/* rgb */ color: rgb(34, 130, 28);
/* oklch */ color: oklch(53.2% 0.162 142.2);
Tailwind
colors: {
  custom: {
    50: '#6da760',
    500: '#22821c',
    950: '#000000',
  },
}
SCSS
$custom: #22821c;
$custom-light: #6da760;
$custom-dark: #000000;
JSON
{
  "hex": "#22821c",
  "rgb": {
    "r": 34,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 116.471,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.16177,
    "h": 142.2
  },
  "luminance": 0.16389
}

Semantic roles & 50–950 ramp

primary
#22821C
secondary
#AF44B5
accent
#40E8DE
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #22821C

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

Preview Lab → · Contrast checker → · Palette generator →

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