#2C571B#2C571B

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

Color values

HEX#2C571B
RGBrgb(44, 87, 27)
HSLhsl(103, 53%, 22%)
HSVhsv(103, 69%, 34%)
CMYKcmyk(49.4%, 0%, 69%, 65.9%)
CIE-LABlab(32.77, -27.41, 29.39)
CIE-LCHlch(32.77, 40.19, 133.00°)
OKLaboklab(41.12% -0.0756 0.068)
OKLCHoklch(41.12% 0.102 138)
XYZxyz(4.6446, 7.4307, 2.2262)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C571B #461B57
analogous
#4A571B #2C571B #1B5728
triadic
#2C571B #1B2C57 #571B2C
tetradic
#2C571B #1B4A57 #461B57 #57281B
square
#2C571B #1B4A57 #461B57 #57281B
split-complementary
#2C571B #281B57 #571B4A
monochromatic
#0C1707 #14280D #2C571B #448629 #5BB438

Accessibility & contrast

On white

8.45
#2C571B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C571B
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C571B#FFFFFF#000000##FFFFFF
##2C571B1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F14
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#29544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c571b;
/* rgb */ color: rgb(44, 87, 27);
/* oklch */ color: oklch(41.1% 0.102 138.0);
Tailwind
colors: {
  custom: {
    50: '#69875a',
    500: '#2c571b',
    950: '#000000',
  },
}
SCSS
$custom: #2c571b;
$custom-light: #69875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c571b",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 103,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.4112,
    "c": 0.10168,
    "h": 138
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#2C571B
secondary
#77418D
accent
#4CDCB3
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2C571B

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

Preview Lab → · Contrast checker → · Palette generator →

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