#2A581A#2A581A

#2A581A is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.105 H 138.7°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2A581A
RGBrgb(42, 88, 26)
HSLhsl(105, 54%, 22%)
HSVhsv(105, 70%, 35%)
CMYKcmyk(52.3%, 0%, 70.5%, 65.5%)
CIE-LABlab(33.02, -28.67, 30.13)
CIE-LCHlch(33.02, 41.59, 133.58°)
OKLaboklab(41.3% -0.079 0.0695)
OKLCHoklch(41.3% 0.105 138.7)
XYZxyz(4.6309, 7.5459, 2.1896)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A581A #481A58
analogous
#49581A #2A581A #1A5829
triadic
#2A581A #1A2A58 #581A2A
tetradic
#2A581A #1A4958 #481A58 #58291A
square
#2A581A #1A4958 #481A58 #58291A
split-complementary
#2A581A #291A58 #581A49
monochromatic
#0B1807 #13290C #2A581A #418728 #57B636

Accessibility & contrast

On white

8.37
#2A581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2A581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A581A
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A581A#FFFFFF#000000##FFFFFF
##2A581A1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5012
Deuteranopia (green-blind)
#554C1F
Tritanopia (blue-blind)
#26554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2a581a;
/* rgb */ color: rgb(42, 88, 26);
/* oklch */ color: oklch(41.3% 0.105 138.7);
Tailwind
colors: {
  custom: {
    50: '#68875a',
    500: '#2a581a',
    950: '#000000',
  },
}
SCSS
$custom: #2a581a;
$custom-light: #68875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a581a",
  "rgb": {
    "r": 42,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 104.516,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.10516,
    "h": 138.7
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#2A581A
secondary
#7A408E
accent
#4ADEB8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2A581A

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

Preview Lab → · Contrast checker → · Palette generator →

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