#2A591B#2A591B

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

Color values

HEX#2A591B
RGBrgb(42, 89, 27)
HSLhsl(105, 53%, 23%)
HSVhsv(105, 70%, 35%)
CMYKcmyk(52.8%, 0%, 69.7%, 65.1%)
CIE-LABlab(33.38, -29.02, 30.04)
CIE-LCHlch(33.38, 41.77, 134.00°)
OKLaboklab(41.6% -0.0798 0.0694)
OKLCHoklch(41.6% 0.106 139)
XYZxyz(4.7249, 7.7158, 2.2770)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A591B #4A1B59
analogous
#49591B #2A591B #1B592B
triadic
#2A591B #1B2A59 #591B2A
tetradic
#2A591B #1B4959 #4A1B59 #592B1B
square
#2A591B #1B4959 #4A1B59 #592B1B
split-complementary
#2A591B #2B1B59 #591B49
monochromatic
#0B1707 #142A0D #2A591B #408829 #56B737

Accessibility & contrast

On white

8.26
#2A591B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2A591B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A591B
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A591B#FFFFFF#000000##FFFFFF
##2A591B1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5113
Deuteranopia (green-blind)
#564D20
Tritanopia (blue-blind)
#26564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a591b;
/* rgb */ color: rgb(42, 89, 27);
/* oklch */ color: oklch(41.6% 0.106 139.0);
Tailwind
colors: {
  custom: {
    50: '#68885a',
    500: '#2a591b',
    950: '#000000',
  },
}
SCSS
$custom: #2a591b;
$custom-light: #68885a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a591b",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 105.484,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.416,
    "c": 0.10577,
    "h": 139
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#2A591B
secondary
#7C418F
accent
#4BDDBA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A591B

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

Preview Lab → · Contrast checker → · Palette generator →

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