#2A591C#2A591C

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

Color values

HEX#2A591C
RGBrgb(42, 89, 28)
HSLhsl(106, 52%, 23%)
HSVhsv(106, 69%, 35%)
CMYKcmyk(52.8%, 0%, 68.5%, 65.1%)
CIE-LABlab(33.39, -28.91, 29.56)
CIE-LCHlch(33.39, 41.35, 134.36°)
OKLaboklab(41.61% -0.0794 0.0685)
OKLCHoklch(41.61% 0.105 139.2)
XYZxyz(4.7366, 7.7205, 2.3390)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A591C #4B1C59
analogous
#48591C #2A591C #1C592D
triadic
#2A591C #1C2A59 #591C2A
tetradic
#2A591C #1C4859 #4B1C59 #592D1C
square
#2A591C #1C4859 #4B1C59 #592D1C
split-complementary
#2A591C #2D1C59 #591C48
monochromatic
#0B1707 #142A0D #2A591C #40882B #56B639

Accessibility & contrast

On white

8.25
#2A591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A591C
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A591C#FFFFFF#000000##FFFFFF
##2A591C1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5115
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#26564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2a591c;
/* rgb */ color: rgb(42, 89, 28);
/* oklch */ color: oklch(41.6% 0.105 139.2);
Tailwind
colors: {
  custom: {
    50: '#68885b',
    500: '#2a591c',
    950: '#000000',
  },
}
SCSS
$custom: #2a591c;
$custom-light: #68885b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a591c",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 106.23,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.10491,
    "h": 139.2
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#2A591C
secondary
#7D428F
accent
#4CDCBB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A591C

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

Preview Lab → · Contrast checker → · Palette generator →

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