#2A561A#2A561A

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

Color values

HEX#2A561A
RGBrgb(42, 86, 26)
HSLhsl(104, 54%, 22%)
HSVhsv(104, 70%, 34%)
CMYKcmyk(51.2%, 0%, 69.8%, 66.3%)
CIE-LABlab(32.31, -27.76, 29.35)
CIE-LCHlch(32.31, 40.40, 133.40°)
OKLaboklab(40.71% -0.0765 0.0678)
OKLCHoklch(40.71% 0.102 138.4)
XYZxyz(4.4689, 7.2221, 2.1356)
Luminance0.0722 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A561A #461A56
analogous
#48561A #2A561A #1A5628
triadic
#2A561A #1A2A56 #561A2A
tetradic
#2A561A #1A4856 #461A56 #56281A
square
#2A561A #1A4856 #461A56 #56281A
split-complementary
#2A561A #281A56 #561A48
monochromatic
#0B1707 #13270C #2A561A #418528 #58B436

Accessibility & contrast

On white

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

On black

2.44
#2A561A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A561A#FFFFFF#000000##FFFFFF
##2A561A1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a561a;
/* rgb */ color: rgb(42, 86, 26);
/* oklch */ color: oklch(40.7% 0.102 138.4);
Tailwind
colors: {
  custom: {
    50: '#68865a',
    500: '#2a561a',
    950: '#000000',
  },
}
SCSS
$custom: #2a561a;
$custom-light: #68865a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a561a",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 104,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.10221,
    "h": 138.4
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#2A561A
secondary
#78408C
accent
#4BDDB6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A561A

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

Preview Lab → · Contrast checker → · Palette generator →

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