#2C571A#2C571A

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

Color values

HEX#2C571A
RGBrgb(44, 87, 26)
HSLhsl(102, 54%, 22%)
HSVhsv(102, 70%, 34%)
CMYKcmyk(49.4%, 0%, 70.1%, 65.9%)
CIE-LABlab(32.76, -27.51, 29.87)
CIE-LCHlch(32.76, 40.61, 132.65°)
OKLaboklab(41.11% -0.0759 0.0689)
OKLCHoklch(41.11% 0.103 137.8)
XYZxyz(4.6332, 7.4261, 2.1663)
Luminance0.0743 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C571A #451A57
analogous
#4B571A #2C571A #1A5727
triadic
#2C571A #1A2C57 #571A2C
tetradic
#2C571A #1A4B57 #451A57 #57271A
square
#2C571A #1A4B57 #451A57 #57271A
split-complementary
#2C571A #271A57 #571A4B
monochromatic
#0C1807 #14280C #2C571A #448628 #5CB536

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2c571a;
/* rgb */ color: rgb(44, 87, 26);
/* oklch */ color: oklch(41.1% 0.103 137.8);
Tailwind
colors: {
  custom: {
    50: '#69875a',
    500: '#2c571a',
    950: '#000000',
  },
}
SCSS
$custom: #2c571a;
$custom-light: #69875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c571a",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 102.295,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41109,
    "c": 0.10255,
    "h": 137.8
  },
  "luminance": 0.07426
}

Semantic roles & 50–950 ramp

primary
#2C571A
secondary
#76408D
accent
#4ADDB2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2C571A

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

Preview Lab → · Contrast checker → · Palette generator →

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