#2D591D#2D591D

#2D591D is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.8% C 0.102 H 138.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2D591D
RGBrgb(45, 89, 29)
HSLhsl(104, 51%, 23%)
HSVhsv(104, 67%, 35%)
CMYKcmyk(49.4%, 0%, 67.4%, 65.1%)
CIE-LABlab(33.54, -27.76, 29.27)
CIE-LCHlch(33.54, 40.35, 133.48°)
OKLaboklab(41.78% -0.0765 0.068)
OKLCHoklch(41.78% 0.102 138.4)
XYZxyz(4.8762, 7.7910, 2.4090)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D591D #491D59
analogous
#4B591D #2D591D #1D592B
triadic
#2D591D #1D2D59 #591D2D
tetradic
#2D591D #1D4B59 #491D59 #592B1D
square
#2D591D #1D4B59 #491D59 #592B1D
split-complementary
#2D591D #2B1D59 #591D4B
monochromatic
#0C1708 #162B0E #2D591D #44872C #5CB53B

Accessibility & contrast

On white

8.21
#2D591D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D591D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D591D
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D591D#FFFFFF#000000##FFFFFF
##2D591D1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5116
Deuteranopia (green-blind)
#564D22
Tritanopia (blue-blind)
#2A564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d591d;
/* rgb */ color: rgb(45, 89, 29);
/* oklch */ color: oklch(41.8% 0.102 138.4);
Tailwind
colors: {
  custom: {
    50: '#6a885c',
    500: '#2d591d',
    950: '#000000',
  },
}
SCSS
$custom: #2d591d;
$custom-light: #6a885c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d591d",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 29
  },
  "hsl": {
    "h": 104,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41776,
    "c": 0.10233,
    "h": 138.4
  },
  "luminance": 0.07791
}

Semantic roles & 50–950 ramp

primary
#2D591D
secondary
#7A448E
accent
#4DDAB5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D591D

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

Preview Lab → · Contrast checker → · Palette generator →

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