#2A591F#2A591F

#2A591F is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.6% C 0.102 H 140.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2A591F
RGBrgb(42, 89, 31)
HSLhsl(109, 48%, 24%)
HSVhsv(109, 65%, 35%)
CMYKcmyk(52.8%, 0%, 65.2%, 65.1%)
CIE-LABlab(33.43, -28.56, 28.09)
CIE-LCHlch(33.43, 40.06, 135.47°)
OKLaboklab(41.65% -0.0783 0.0657)
OKLCHoklch(41.65% 0.102 140)
XYZxyz(4.7744, 7.7356, 2.5376)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A591F #4E1F59
analogous
#47591F #2A591F #1F5931
triadic
#2A591F #1F2A59 #591F2A
tetradic
#2A591F #1F4759 #4E1F59 #59311F
square
#2A591F #1F4759 #4E1F59 #59311F
split-complementary
#2A591F #311F59 #591F47
monochromatic
#0B1708 #152C0F #2A591F #3F862F #55B43F

Accessibility & contrast

On white

8.24
#2A591F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2A591F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A591F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A591F#FFFFFF#000000##FFFFFF
##2A591F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#26564D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a591f;
/* rgb */ color: rgb(42, 89, 31);
/* oklch */ color: oklch(41.6% 0.102 140.0);
Tailwind
colors: {
  custom: {
    50: '#68885d',
    500: '#2a591f',
    950: '#000000',
  },
}
SCSS
$custom: #2a591f;
$custom-light: #68885d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a591f",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 108.621,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.41648,
    "c": 0.10222,
    "h": 140
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

primary
#2A591F
secondary
#80468E
accent
#50D8BE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A591F

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

Preview Lab → · Contrast checker → · Palette generator →

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