#2D571E#2D571E

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

Color values

HEX#2D571E
RGBrgb(45, 87, 30)
HSLhsl(104, 49%, 23%)
HSVhsv(104, 66%, 34%)
CMYKcmyk(48.3%, 0%, 65.5%, 65.9%)
CIE-LABlab(32.85, -26.71, 27.99)
CIE-LCHlch(32.85, 38.69, 133.67°)
OKLaboklab(41.21% -0.0735 0.0654)
OKLCHoklch(41.21% 0.098 138.4)
XYZxyz(4.7246, 7.4677, 2.4205)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D571E #481E57
analogous
#49571E #2D571E #1E572C
triadic
#2D571E #1E2D57 #571E2D
tetradic
#2D571E #1E4957 #481E57 #572C1E
square
#2D571E #1E4957 #481E57 #572C1E
split-complementary
#2D571E #2C1E57 #571E49
monochromatic
#0C1708 #15290E #2D571E #45852E #5CB23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D571E#FFFFFF#000000##FFFFFF
##2D571E1.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)
#5A5018
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#2A544B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2d571e;
/* rgb */ color: rgb(45, 87, 30);
/* oklch */ color: oklch(41.2% 0.098 138.4);
Tailwind
colors: {
  custom: {
    50: '#6a875c',
    500: '#2d571e',
    950: '#000000',
  },
}
SCSS
$custom: #2d571e;
$custom-light: #6a875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d571e",
  "rgb": {
    "r": 45,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 104.211,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.09839,
    "h": 138.4
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#2D571E
secondary
#79458C
accent
#50D8B4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D571E

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

Preview Lab → · Contrast checker → · Palette generator →

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