#2B571B#2B571B

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

Color values

HEX#2B571B
RGBrgb(43, 87, 27)
HSLhsl(104, 53%, 22%)
HSVhsv(104, 69%, 34%)
CMYKcmyk(50.6%, 0%, 69%, 65.9%)
CIE-LABlab(32.72, -27.76, 29.33)
CIE-LCHlch(32.72, 40.38, 133.43°)
OKLaboklab(41.07% -0.0765 0.0679)
OKLCHoklch(41.07% 0.102 138.4)
XYZxyz(4.6021, 7.4088, 2.2242)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B571B #471B57
analogous
#49571B #2B571B #1B5729
triadic
#2B571B #1B2B57 #571B2B
tetradic
#2B571B #1B4957 #471B57 #57291B
square
#2B571B #1B4957 #471B57 #57291B
split-complementary
#2B571B #291B57 #571B49
monochromatic
#0C1707 #14280D #2B571B #428629 #59B438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B571B#FFFFFF#000000##FFFFFF
##2B571B1.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)
#5A4F14
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#28544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2b571b;
/* rgb */ color: rgb(43, 87, 27);
/* oklch */ color: oklch(41.1% 0.102 138.4);
Tailwind
colors: {
  custom: {
    50: '#69875a',
    500: '#2b571b',
    950: '#000000',
  },
}
SCSS
$custom: #2b571b;
$custom-light: #69875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b571b",
  "rgb": {
    "r": 43,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 104,
    "s": 52.632,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41068,
    "c": 0.10225,
    "h": 138.4
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#2B571B
secondary
#79418D
accent
#4CDCB6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B571B

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

Preview Lab → · Contrast checker → · Palette generator →

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