#2A561B#2A561B

#2A561B is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.7% C 0.101 H 138.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2A561B
RGBrgb(42, 86, 27)
HSLhsl(105, 52%, 22%)
HSVhsv(105, 69%, 34%)
CMYKcmyk(51.2%, 0%, 68.6%, 66.3%)
CIE-LABlab(32.32, -27.65, 28.87)
CIE-LCHlch(32.32, 39.97, 133.76°)
OKLaboklab(40.72% -0.0761 0.0669)
OKLCHoklch(40.72% 0.101 138.7)
XYZxyz(4.4803, 7.2266, 2.1955)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A561B #471B56
analogous
#48561B #2A561B #1B562A
triadic
#2A561B #1B2A56 #561B2A
tetradic
#2A561B #1B4856 #471B56 #562A1B
square
#2A561B #1B4856 #471B56 #562A1B
split-complementary
#2A561B #2A1B56 #561B48
monochromatic
#0B1707 #13270C #2A561B #41852A #57B338

Accessibility & contrast

On white

8.59
#2A561B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A561B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A561B#FFFFFF#000000##FFFFFF
##2A561B1.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a561b;
/* rgb */ color: rgb(42, 86, 27);
/* oklch */ color: oklch(40.7% 0.101 138.7);
Tailwind
colors: {
  custom: {
    50: '#68865a',
    500: '#2a561b',
    950: '#000000',
  },
}
SCSS
$custom: #2a561b;
$custom-light: #68865a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a561b",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 27
  },
  "hsl": {
    "h": 104.746,
    "s": 52.212,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40724,
    "c": 0.10134,
    "h": 138.7
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#2A561B
secondary
#79418C
accent
#4CDCB7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A561B

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

Preview Lab → · Contrast checker → · Palette generator →

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