#2D571C#2D571C

#2D571C is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.2% C 0.100 H 137.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2D571C
RGBrgb(45, 87, 28)
HSLhsl(103, 51%, 23%)
HSVhsv(103, 68%, 34%)
CMYKcmyk(48.3%, 0%, 67.8%, 65.9%)
CIE-LABlab(32.83, -26.94, 28.98)
CIE-LCHlch(32.83, 39.57, 132.92°)
OKLaboklab(41.19% -0.0743 0.0672)
OKLCHoklch(41.19% 0.1 137.9)
XYZxyz(4.6998, 7.4578, 2.2902)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D571C #461C57
analogous
#4A571C #2D571C #1C5729
triadic
#2D571C #1C2D57 #571C2D
tetradic
#2D571C #1C4A57 #461C57 #57291C
square
#2D571C #1C4A57 #461C57 #57291C
split-complementary
#2D571C #291C57 #571C4A
monochromatic
#0C1707 #15290D #2D571C #45852B #5DB43A

Accessibility & contrast

On white

8.43
#2D571C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2D571C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D571C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D571C#FFFFFF#000000##FFFFFF
##2D571C1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F15
Deuteranopia (green-blind)
#544C21
Tritanopia (blue-blind)
#2A544B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d571c;
/* rgb */ color: rgb(45, 87, 28);
/* oklch */ color: oklch(41.2% 0.100 137.9);
Tailwind
colors: {
  custom: {
    50: '#6a875b',
    500: '#2d571c',
    950: '#000000',
  },
}
SCSS
$custom: #2d571c;
$custom-light: #6a875b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d571c",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 102.712,
    "s": 51.304,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41186,
    "c": 0.10022,
    "h": 137.9
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#2D571C
secondary
#77428D
accent
#4DDBB2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D571C

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

Preview Lab → · Contrast checker → · Palette generator →

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