#2B571E#2B571E

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

Color values

HEX#2B571E
RGBrgb(43, 87, 30)
HSLhsl(106, 49%, 23%)
HSVhsv(106, 66%, 34%)
CMYKcmyk(50.6%, 0%, 65.5%, 65.9%)
CIE-LABlab(32.75, -27.42, 27.85)
CIE-LCHlch(32.75, 39.08, 134.55°)
OKLaboklab(41.1% -0.0753 0.0651)
OKLCHoklch(41.1% 0.1 139.2)
XYZxyz(4.6386, 7.4234, 2.4165)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B571E #4A1E57
analogous
#47571E #2B571E #1E572D
triadic
#2B571E #1E2B57 #571E2B
tetradic
#2B571E #1E4757 #4A1E57 #572D1E
square
#2B571E #1E4757 #4A1E57 #572D1E
split-complementary
#2B571E #2D1E57 #571E47
monochromatic
#0B1708 #15290E #2B571E #41852E #58B23D

Accessibility & contrast

On white

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

On black

2.48
#2B571E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B571E#FFFFFF#000000##FFFFFF
##2B571E1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b571e;
/* rgb */ color: rgb(43, 87, 30);
/* oklch */ color: oklch(41.1% 0.100 139.2);
Tailwind
colors: {
  custom: {
    50: '#68875c',
    500: '#2b571e',
    950: '#000000',
  },
}
SCSS
$custom: #2b571e;
$custom-light: #68875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b571e",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 106.316,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41104,
    "c": 0.09955,
    "h": 139.2
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#2B571E
secondary
#7C458C
accent
#50D8B9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B571E

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

Preview Lab → · Contrast checker → · Palette generator →

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