#2D571D#2D571D

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

Color values

HEX#2D571D
RGBrgb(45, 87, 29)
HSLhsl(103, 50%, 23%)
HSVhsv(103, 67%, 34%)
CMYKcmyk(48.3%, 0%, 66.7%, 65.9%)
CIE-LABlab(32.84, -26.83, 28.48)
CIE-LCHlch(32.84, 39.13, 133.29°)
OKLaboklab(41.2% -0.0739 0.0663)
OKLCHoklch(41.2% 0.099 138.1)
XYZxyz(4.7120, 7.4627, 2.3543)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D571D #471D57
analogous
#4A571D #2D571D #1D572A
triadic
#2D571D #1D2D57 #571D2D
tetradic
#2D571D #1D4A57 #471D57 #572A1D
square
#2D571D #1D4A57 #471D57 #572A1D
split-complementary
#2D571D #2A1D57 #571D4A
monochromatic
#0C1708 #15290E #2D571D #45852C #5CB33C

Accessibility & contrast

On white

8.42
#2D571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D571D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D571D#FFFFFF#000000##FFFFFF
##2D571D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d571d;
/* rgb */ color: rgb(45, 87, 29);
/* oklch */ color: oklch(41.2% 0.099 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a875c',
    500: '#2d571d',
    950: '#000000',
  },
}
SCSS
$custom: #2d571d;
$custom-light: #6a875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d571d",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 103.448,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41198,
    "c": 0.09932,
    "h": 138.1
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#2D571D
secondary
#78448C
accent
#4EDAB3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D571D

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

Preview Lab → · Contrast checker → · Palette generator →

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