#22571D#22571D

#22571D is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.105 H 141.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#22571D
RGBrgb(34, 87, 29)
HSLhsl(115, 50%, 23%)
HSVhsv(115, 67%, 34%)
CMYKcmyk(60.9%, 0%, 66.7%, 65.9%)
CIE-LABlab(32.36, -30.42, 27.81)
CIE-LCHlch(32.36, 41.22, 137.57°)
OKLaboklab(40.67% -0.083 0.065)
OKLCHoklch(40.67% 0.105 141.9)
XYZxyz(4.2894, 7.2448, 2.3345)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22571D #521D57
analogous
#3F571D #22571D #1D5735
triadic
#22571D #1D2257 #571D22
tetradic
#22571D #1D3F57 #521D57 #57351D
square
#22571D #1D3F57 #521D57 #57351D
split-complementary
#22571D #351D57 #571D3F
monochromatic
#091708 #10290E #22571D #34852C #46B33C

Accessibility & contrast

On white

8.57
#22571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22571D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22571D#FFFFFF#000000##FFFFFF
##22571D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#1A544B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #22571d;
/* rgb */ color: rgb(34, 87, 29);
/* oklch */ color: oklch(40.7% 0.105 141.9);
Tailwind
colors: {
  custom: {
    50: '#63875b',
    500: '#22571d',
    950: '#000000',
  },
}
SCSS
$custom: #22571d;
$custom-light: #63875b;
$custom-dark: #000000;
JSON
{
  "hex": "#22571d",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 114.828,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4067,
    "c": 0.10539,
    "h": 141.9
  },
  "luminance": 0.07245
}

Semantic roles & 50–950 ramp

primary
#22571D
secondary
#86448C
accent
#4EDACE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #22571D

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

Preview Lab → · Contrast checker → · Palette generator →

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