#2B581E#2B581E

#2B581E is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.101 H 139.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2B581E
RGBrgb(43, 88, 30)
HSLhsl(107, 49%, 23%)
HSVhsv(107, 66%, 35%)
CMYKcmyk(51.1%, 0%, 65.9%, 65.5%)
CIE-LABlab(33.11, -27.88, 28.25)
CIE-LCHlch(33.11, 39.69, 134.62°)
OKLaboklab(41.4% -0.0766 0.066)
OKLCHoklch(41.4% 0.101 139.3)
XYZxyz(4.7201, 7.5865, 2.4437)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B581E #4B1E58
analogous
#48581E #2B581E #1E582E
triadic
#2B581E #1E2B58 #581E2B
tetradic
#2B581E #1E4858 #4B1E58 #582E1E
square
#2B581E #1E4858 #4B1E58 #582E1E
split-complementary
#2B581E #2E1E58 #581E48
monochromatic
#0B1708 #152A0E #2B581E #41862E #58B33D

Accessibility & contrast

On white

8.34
#2B581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2B581E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B581E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B581E#FFFFFF#000000##FFFFFF
##2B581E1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5018
Deuteranopia (green-blind)
#554C23
Tritanopia (blue-blind)
#27554C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b581e;
/* rgb */ color: rgb(43, 88, 30);
/* oklch */ color: oklch(41.4% 0.101 139.3);
Tailwind
colors: {
  custom: {
    50: '#69875c',
    500: '#2b581e',
    950: '#000000',
  },
}
SCSS
$custom: #2b581e;
$custom-light: #69875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b581e",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 106.552,
    "s": 49.153,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41395,
    "c": 0.10107,
    "h": 139.3
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

primary
#2B581E
secondary
#7D458D
accent
#4FD9BA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B04
muted
#7A7C79

Preview Lab

Preview with #2B581E

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

Preview Lab → · Contrast checker → · Palette generator →

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