#2A561C#2A561C

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

Color values

HEX#2A561C
RGBrgb(42, 86, 28)
HSLhsl(106, 51%, 22%)
HSVhsv(106, 67%, 34%)
CMYKcmyk(51.2%, 0%, 67.4%, 66.3%)
CIE-LABlab(32.33, -27.53, 28.38)
CIE-LCHlch(32.33, 39.54, 134.13°)
OKLaboklab(40.74% -0.0757 0.066)
OKLCHoklch(40.74% 0.1 138.9)
XYZxyz(4.4921, 7.2314, 2.2575)
Luminance0.0723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A561C #481C56
analogous
#47561C #2A561C #1C562B
triadic
#2A561C #1C2A56 #561C2A
tetradic
#2A561C #1C4756 #481C56 #562B1C
square
#2A561C #1C4756 #481C56 #562B1C
split-complementary
#2A561C #2B1C56 #561C47
monochromatic
#0B1708 #13280D #2A561C #41842B #57B23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A561C#FFFFFF#000000##FFFFFF
##2A561C1.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)
#594E15
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#27534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a561c;
/* rgb */ color: rgb(42, 86, 28);
/* oklch */ color: oklch(40.7% 0.100 138.9);
Tailwind
colors: {
  custom: {
    50: '#68865b',
    500: '#2a561c',
    950: '#000000',
  },
}
SCSS
$custom: #2a561c;
$custom-light: #68865b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a561c",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 28
  },
  "hsl": {
    "h": 105.517,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.10045,
    "h": 138.9
  },
  "luminance": 0.07232
}

Semantic roles & 50–950 ramp

primary
#2A561C
secondary
#7A428C
accent
#4DDAB8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A561C

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

Preview Lab → · Contrast checker → · Palette generator →

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