#2B571A#2B571A

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

Color values

HEX#2B571A
RGBrgb(43, 87, 26)
HSLhsl(103, 54%, 22%)
HSVhsv(103, 70%, 34%)
CMYKcmyk(50.6%, 0%, 70.1%, 65.9%)
CIE-LABlab(32.71, -27.87, 29.81)
CIE-LCHlch(32.71, 40.80, 133.07°)
OKLaboklab(41.06% -0.0768 0.0688)
OKLCHoklch(41.06% 0.103 138.2)
XYZxyz(4.5908, 7.4043, 2.1643)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B571A #461A57
analogous
#4A571A #2B571A #1A5728
triadic
#2B571A #1A2B57 #571A2B
tetradic
#2B571A #1A4A57 #461A57 #57281A
square
#2B571A #1A4A57 #461A57 #57281A
split-complementary
#2B571A #281A57 #571A4A
monochromatic
#0C1807 #14280C #2B571A #428628 #5AB536

Accessibility & contrast

On white

8.46
#2B571A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B571A
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B571A#FFFFFF#000000##FFFFFF
##2B571A1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F12
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#28544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b571a;
/* rgb */ color: rgb(43, 87, 26);
/* oklch */ color: oklch(41.1% 0.103 138.2);
Tailwind
colors: {
  custom: {
    50: '#69875a',
    500: '#2b571a',
    950: '#000000',
  },
}
SCSS
$custom: #2b571a;
$custom-light: #69875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b571a",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 26
  },
  "hsl": {
    "h": 103.279,
    "s": 53.982,
    "l": 22.157
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.10312,
    "h": 138.2
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#2B571A
secondary
#78408D
accent
#4ADDB4
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B571A

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

Preview Lab → · Contrast checker → · Palette generator →

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