#2B571D#2B571D

#2B571D is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.1% C 0.100 H 138.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2B571D
RGBrgb(43, 87, 29)
HSLhsl(106, 50%, 23%)
HSVhsv(106, 67%, 34%)
CMYKcmyk(50.6%, 0%, 66.7%, 65.9%)
CIE-LABlab(32.74, -27.53, 28.35)
CIE-LCHlch(32.74, 39.52, 134.16°)
OKLaboklab(41.09% -0.0757 0.0661)
OKLCHoklch(41.09% 0.1 138.9)
XYZxyz(4.6261, 7.4184, 2.3503)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B571D #491D57
analogous
#48571D #2B571D #1D572C
triadic
#2B571D #1D2B57 #571D2B
tetradic
#2B571D #1D4857 #491D57 #572C1D
square
#2B571D #1D4857 #491D57 #572C1D
split-complementary
#2B571D #2C1D57 #571D48
monochromatic
#0B1708 #14290E #2B571D #42852C #58B33C

Accessibility & contrast

On white

8.45
#2B571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2B571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B571D
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B571D#FFFFFF#000000##FFFFFF
##2B571D1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F16
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#28544B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b571d;
/* rgb */ color: rgb(43, 87, 29);
/* oklch */ color: oklch(41.1% 0.100 138.9);
Tailwind
colors: {
  custom: {
    50: '#69875c',
    500: '#2b571d',
    950: '#000000',
  },
}
SCSS
$custom: #2b571d;
$custom-light: #69875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b571d",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 105.517,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.10047,
    "h": 138.9
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#2B571D
secondary
#7B448C
accent
#4EDAB8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B571D

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

Preview Lab → · Contrast checker → · Palette generator →

#2B571D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva