#2B561F#2B561F

#2B561F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.097 H 139.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2B561F
RGBrgb(43, 86, 31)
HSLhsl(107, 47%, 23%)
HSVhsv(107, 64%, 34%)
CMYKcmyk(50%, 0%, 64%, 66.3%)
CIE-LABlab(32.41, -26.83, 26.94)
CIE-LCHlch(32.41, 38.02, 134.88°)
OKLaboklab(40.83% -0.0736 0.0633)
OKLCHoklch(40.83% 0.097 139.3)
XYZxyz(4.5712, 7.2678, 2.4580)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B561F #4A1F56
analogous
#46561F #2B561F #1F562E
triadic
#2B561F #1F2B56 #561F2B
tetradic
#2B561F #1F4656 #4A1F56 #562E1F
square
#2B561F #1F4656 #4A1F56 #562E1F
split-complementary
#2B561F #2E1F56 #561F46
monochromatic
#0B1608 #15290F #2B561F #41832F #58B03F

Accessibility & contrast

On white

8.56
#2B561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B561F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B561F#FFFFFF#000000##FFFFFF
##2B561F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#27534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b561f;
/* rgb */ color: rgb(43, 86, 31);
/* oklch */ color: oklch(40.8% 0.097 139.3);
Tailwind
colors: {
  custom: {
    50: '#68865d',
    500: '#2b561f',
    950: '#000000',
  },
}
SCSS
$custom: #2b561f;
$custom-light: #68865d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b561f",
  "rgb": {
    "r": 43,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 106.909,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40827,
    "c": 0.09707,
    "h": 139.3
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#2B561F
secondary
#7C468B
accent
#51D7BA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B561F

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

Preview Lab → · Contrast checker → · Palette generator →

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