#2D571A#2D571A

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

Color values

HEX#2D571A
RGBrgb(45, 87, 26)
HSLhsl(101, 54%, 22%)
HSVhsv(101, 70%, 34%)
CMYKcmyk(48.3%, 0%, 70.1%, 65.9%)
CIE-LABlab(32.81, -27.16, 29.94)
CIE-LCHlch(32.81, 40.42, 132.21°)
OKLaboklab(41.16% -0.075 0.069)
OKLCHoklch(41.16% 0.102 137.4)
XYZxyz(4.6767, 7.4486, 2.1684)
Luminance0.0745 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D571A #441A57
analogous
#4C571A #2D571A #1A5725
triadic
#2D571A #1A2D57 #571A2D
tetradic
#2D571A #1A4C57 #441A57 #57251A
square
#2D571A #1A4C57 #441A57 #57251A
split-complementary
#2D571A #251A57 #571A4C
monochromatic
#0C1807 #15280C #2D571A #458628 #5EB536

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D571A#FFFFFF#000000##FFFFFF
##2D571A1.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)
#5A4F12
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#2B544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d571a;
/* rgb */ color: rgb(45, 87, 26);
/* oklch */ color: oklch(41.2% 0.102 137.4);
Tailwind
colors: {
  custom: {
    50: '#6a875a',
    500: '#2d571a',
    950: '#000000',
  },
}
SCSS
$custom: #2d571a;
$custom-light: #6a875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d571a",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 101.311,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41163,
    "c": 0.10197,
    "h": 137.4
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#2D571A
secondary
#75408D
accent
#4ADDB0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D571A

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

Preview Lab → · Contrast checker → · Palette generator →

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