#2A561F#2A561F

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

Color values

HEX#2A561F
RGBrgb(42, 86, 31)
HSLhsl(108, 47%, 23%)
HSVhsv(108, 64%, 34%)
CMYKcmyk(51.2%, 0%, 64%, 66.3%)
CIE-LABlab(32.36, -27.17, 26.87)
CIE-LCHlch(32.36, 38.22, 135.32°)
OKLaboklab(40.78% -0.0745 0.0631)
OKLCHoklch(40.78% 0.098 139.7)
XYZxyz(4.5298, 7.2464, 2.4561)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A561F #4B1F56
analogous
#45561F #2A561F #1F562F
triadic
#2A561F #1F2A56 #561F2A
tetradic
#2A561F #1F4556 #4B1F56 #562F1F
square
#2A561F #1F4556 #4B1F56 #562F1F
split-complementary
#2A561F #2F1F56 #561F45
monochromatic
#0B1608 #14290F #2A561F #40832F #56B03F

Accessibility & contrast

On white

8.57
#2A561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A561F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A561F#FFFFFF#000000##FFFFFF
##2A561F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E19
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#26534A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2a561f;
/* rgb */ color: rgb(42, 86, 31);
/* oklch */ color: oklch(40.8% 0.098 139.7);
Tailwind
colors: {
  custom: {
    50: '#68865d',
    500: '#2a561f',
    950: '#000000',
  },
}
SCSS
$custom: #2a561f;
$custom-light: #68865d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a561f",
  "rgb": {
    "r": 42,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 108,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.40775,
    "c": 0.09766,
    "h": 139.7
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#2A561F
secondary
#7D468B
accent
#51D7BC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A561F

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

Preview Lab → · Contrast checker → · Palette generator →

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