#22571B#22571B

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

Color values

HEX#22571B
RGBrgb(34, 87, 27)
HSLhsl(113, 53%, 22%)
HSVhsv(113, 69%, 34%)
CMYKcmyk(60.9%, 0%, 69%, 65.9%)
CIE-LABlab(32.34, -30.66, 28.80)
CIE-LCHlch(32.34, 42.06, 136.80°)
OKLaboklab(40.65% -0.0837 0.0668)
OKLCHoklch(40.65% 0.107 141.4)
XYZxyz(4.2655, 7.2352, 2.2085)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22571B #501B57
analogous
#40571B #22571B #1B5732
triadic
#22571B #1B2257 #571B22
tetradic
#22571B #1B4057 #501B57 #57321B
square
#22571B #1B4057 #501B57 #57321B
split-complementary
#22571B #321B57 #571B40
monochromatic
#091707 #10280D #22571B #348629 #47B438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22571B#FFFFFF#000000##FFFFFF
##22571B1.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)
#594F14
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#1B544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #22571b;
/* rgb */ color: rgb(34, 87, 27);
/* oklch */ color: oklch(40.6% 0.107 141.4);
Tailwind
colors: {
  custom: {
    50: '#64875a',
    500: '#22571b',
    950: '#000000',
  },
}
SCSS
$custom: #22571b;
$custom-light: #64875a;
$custom-dark: #000000;
JSON
{
  "hex": "#22571b",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 113,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40646,
    "c": 0.10714,
    "h": 141.4
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#22571B
secondary
#84418D
accent
#4CDCCB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #22571B

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

Preview Lab → · Contrast checker → · Palette generator →

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