#2C571D#2C571D

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

Color values

HEX#2C571D
RGBrgb(44, 87, 29)
HSLhsl(104, 50%, 23%)
HSVhsv(104, 67%, 34%)
CMYKcmyk(49.4%, 0%, 66.7%, 65.9%)
CIE-LABlab(32.79, -27.19, 28.42)
CIE-LCHlch(32.79, 39.33, 133.73°)
OKLaboklab(41.14% -0.0748 0.0662)
OKLCHoklch(41.14% 0.1 138.5)
XYZxyz(4.6685, 7.4403, 2.3523)
Luminance0.0744 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C571D #481D57
analogous
#49571D #2C571D #1D572B
triadic
#2C571D #1D2C57 #571D2C
tetradic
#2C571D #1D4957 #481D57 #572B1D
square
#2C571D #1D4957 #481D57 #572B1D
split-complementary
#2C571D #2B1D57 #571D49
monochromatic
#0C1708 #15290E #2C571D #43852C #5AB33C

Accessibility & contrast

On white

8.44
#2C571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C571D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C571D#FFFFFF#000000##FFFFFF
##2C571D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c571d;
/* rgb */ color: rgb(44, 87, 29);
/* oklch */ color: oklch(41.1% 0.100 138.5);
Tailwind
colors: {
  custom: {
    50: '#69875c',
    500: '#2c571d',
    950: '#000000',
  },
}
SCSS
$custom: #2c571d;
$custom-light: #69875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c571d",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 104.483,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41144,
    "c": 0.0999,
    "h": 138.5
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#2C571D
secondary
#79448C
accent
#4EDAB6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2C571D

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

Preview Lab → · Contrast checker → · Palette generator →

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