#22571A#22571A

#22571A is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.108 H 141.2°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#22571A
RGBrgb(34, 87, 26)
HSLhsl(112, 54%, 22%)
HSVhsv(112, 70%, 34%)
CMYKcmyk(60.9%, 0%, 70.1%, 65.9%)
CIE-LABlab(32.33, -30.78, 29.28)
CIE-LCHlch(32.33, 42.48, 136.43°)
OKLaboklab(40.63% -0.0841 0.0677)
OKLCHoklch(40.63% 0.108 141.2)
XYZxyz(4.2541, 7.2307, 2.1486)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22571A #4F1A57
analogous
#41571A #22571A #1A5731
triadic
#22571A #1A2257 #571A22
tetradic
#22571A #1A4157 #4F1A57 #57311A
square
#22571A #1A4157 #4F1A57 #57311A
split-complementary
#22571A #311A57 #571A41
monochromatic
#091807 #10280C #22571A #348628 #47B536

Accessibility & contrast

On white

8.58
#22571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#22571A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22571A
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22571A#FFFFFF#000000##FFFFFF
##22571A1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F12
Deuteranopia (green-blind)
#534A1F
Tritanopia (blue-blind)
#1B544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #22571a;
/* rgb */ color: rgb(34, 87, 26);
/* oklch */ color: oklch(40.6% 0.108 141.2);
Tailwind
colors: {
  custom: {
    50: '#64875a',
    500: '#22571a',
    950: '#000000',
  },
}
SCSS
$custom: #22571a;
$custom-light: #64875a;
$custom-dark: #000000;
JSON
{
  "hex": "#22571a",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 112.131,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40634,
    "c": 0.108,
    "h": 141.2
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#22571A
secondary
#83408D
accent
#4ADDCA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #22571A

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

Preview Lab → · Contrast checker → · Palette generator →

#22571A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva