#2B581A#2B581A

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

Color values

HEX#2B581A
RGBrgb(43, 88, 26)
HSLhsl(104, 54%, 22%)
HSVhsv(104, 70%, 35%)
CMYKcmyk(51.1%, 0%, 70.5%, 65.5%)
CIE-LABlab(33.06, -28.33, 30.19)
CIE-LCHlch(33.06, 41.40, 133.17°)
OKLaboklab(41.35% -0.0781 0.0696)
OKLCHoklch(41.35% 0.105 138.3)
XYZxyz(4.6723, 7.5673, 2.1915)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B581A #471A58
analogous
#4A581A #2B581A #1A5828
triadic
#2B581A #1A2B58 #581A2B
tetradic
#2B581A #1A4A58 #471A58 #58281A
square
#2B581A #1A4A58 #471A58 #58281A
split-complementary
#2B581A #281A58 #581A4A
monochromatic
#0C1807 #14290C #2B581A #428728 #59B636

Accessibility & contrast

On white

8.35
#2B581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B581A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B581A#FFFFFF#000000##FFFFFF
##2B581A1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b581a;
/* rgb */ color: rgb(43, 88, 26);
/* oklch */ color: oklch(41.3% 0.105 138.3);
Tailwind
colors: {
  custom: {
    50: '#69875a',
    500: '#2b581a',
    950: '#000000',
  },
}
SCSS
$custom: #2b581a;
$custom-light: #69875a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b581a",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 103.548,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.10459,
    "h": 138.3
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#2B581A
secondary
#79408E
accent
#4ADEB5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2B581A

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

Preview Lab → · Contrast checker → · Palette generator →

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