#2C571E#2C571E

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

Color values

HEX#2C571E
RGBrgb(44, 87, 30)
HSLhsl(105, 49%, 23%)
HSVhsv(105, 66%, 34%)
CMYKcmyk(49.4%, 0%, 65.5%, 65.9%)
CIE-LABlab(32.80, -27.07, 27.92)
CIE-LCHlch(32.80, 38.89, 134.11°)
OKLaboklab(41.16% -0.0744 0.0652)
OKLCHoklch(41.16% 0.099 138.8)
XYZxyz(4.6811, 7.4453, 2.4185)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C571E #491E57
analogous
#48571E #2C571E #1E572C
triadic
#2C571E #1E2C57 #571E2C
tetradic
#2C571E #1E4857 #491E57 #572C1E
square
#2C571E #1E4857 #491E57 #572C1E
split-complementary
#2C571E #2C1E57 #571E48
monochromatic
#0C1708 #15290E #2C571E #43852E #5AB23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C571E#FFFFFF#000000##FFFFFF
##2C571E1.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)
#5A4F18
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#29544B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c571e;
/* rgb */ color: rgb(44, 87, 30);
/* oklch */ color: oklch(41.2% 0.099 138.8);
Tailwind
colors: {
  custom: {
    50: '#69875c',
    500: '#2c571e',
    950: '#000000',
  },
}
SCSS
$custom: #2c571e;
$custom-light: #69875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c571e",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 105.263,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41157,
    "c": 0.09897,
    "h": 138.8
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

primary
#2C571E
secondary
#7B458C
accent
#50D8B7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2C571E

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

Preview Lab → · Contrast checker → · Palette generator →

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