#2A591A#2A591A

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

Color values

HEX#2A591A
RGBrgb(42, 89, 26)
HSLhsl(105, 55%, 23%)
HSVhsv(105, 71%, 35%)
CMYKcmyk(52.8%, 0%, 70.8%, 65.1%)
CIE-LABlab(33.37, -29.12, 30.51)
CIE-LCHlch(33.37, 42.18, 133.66°)
OKLaboklab(41.59% -0.0802 0.0703)
OKLCHoklch(41.59% 0.107 138.8)
XYZxyz(4.7135, 7.7112, 2.2171)
Luminance0.0771 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A591A #491A59
analogous
#49591A #2A591A #1A5929
triadic
#2A591A #1A2A59 #591A2A
tetradic
#2A591A #1A4959 #491A59 #59291A
square
#2A591A #1A4959 #491A59 #59291A
split-complementary
#2A591A #291A59 #591A49
monochromatic
#0B1807 #142A0C #2A591A #408828 #57B836

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A591A#FFFFFF#000000##FFFFFF
##2A591A1.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)
#5C5112
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#26564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a591a;
/* rgb */ color: rgb(42, 89, 26);
/* oklch */ color: oklch(41.6% 0.107 138.8);
Tailwind
colors: {
  custom: {
    50: '#68885a',
    500: '#2a591a',
    950: '#000000',
  },
}
SCSS
$custom: #2a591a;
$custom-light: #68885a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a591a",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 104.762,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.10661,
    "h": 138.8
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#2A591A
secondary
#7B408F
accent
#4ADEB8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A591A

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

Preview Lab → · Contrast checker → · Palette generator →

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