#2A561E#2A561E

#2A561E is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.8% C 0.099 H 139.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2A561E
RGBrgb(42, 86, 30)
HSLhsl(107, 48%, 23%)
HSVhsv(107, 65%, 34%)
CMYKcmyk(51.2%, 0%, 65.1%, 66.3%)
CIE-LABlab(32.35, -27.30, 27.38)
CIE-LCHlch(32.35, 38.66, 134.91°)
OKLaboklab(40.76% -0.0749 0.0641)
OKLCHoklch(40.76% 0.099 139.5)
XYZxyz(4.5168, 7.2412, 2.3877)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A561E #4A1E56
analogous
#46561E #2A561E #1E562E
triadic
#2A561E #1E2A56 #561E2A
tetradic
#2A561E #1E4656 #4A1E56 #562E1E
square
#2A561E #1E4656 #4A1E56 #562E1E
split-complementary
#2A561E #2E1E56 #561E46
monochromatic
#0B1708 #14290E #2A561E #40832E #56B13E

Accessibility & contrast

On white

8.58
#2A561E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A561E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A561E#FFFFFF#000000##FFFFFF
##2A561E1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E18
Deuteranopia (green-blind)
#534B22
Tritanopia (blue-blind)
#26534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a561e;
/* rgb */ color: rgb(42, 86, 30);
/* oklch */ color: oklch(40.8% 0.099 139.5);
Tailwind
colors: {
  custom: {
    50: '#68865c',
    500: '#2a561e',
    950: '#000000',
  },
}
SCSS
$custom: #2a561e;
$custom-light: #68865c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a561e",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 30
  },
  "hsl": {
    "h": 107.143,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40762,
    "c": 0.09861,
    "h": 139.5
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#2A561E
secondary
#7C458B
accent
#50D8BB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A561E

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

Preview Lab → · Contrast checker → · Palette generator →

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