#2D591F#2D591F

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

Color values

HEX#2D591F
RGBrgb(45, 89, 31)
HSLhsl(106, 48%, 24%)
HSVhsv(106, 65%, 35%)
CMYKcmyk(49.4%, 0%, 65.2%, 65.1%)
CIE-LABlab(33.57, -27.53, 28.28)
CIE-LCHlch(33.57, 39.47, 134.23°)
OKLaboklab(41.8% -0.0757 0.0661)
OKLCHoklch(41.8% 0.101 138.9)
XYZxyz(4.9017, 7.8013, 2.5436)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D591F #4B1F59
analogous
#4A591F #2D591F #1F592E
triadic
#2D591F #1F2D59 #591F2D
tetradic
#2D591F #1F4A59 #4B1F59 #592E1F
square
#2D591F #1F4A59 #4B1F59 #592E1F
split-complementary
#2D591F #2E1F59 #591F4A
monochromatic
#0B1708 #162C0F #2D591F #44862F #5BB43F

Accessibility & contrast

On white

8.20
#2D591F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D591F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D591F#FFFFFF#000000##FFFFFF
##2D591F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#564D24
Tritanopia (blue-blind)
#2A564D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d591f;
/* rgb */ color: rgb(45, 89, 31);
/* oklch */ color: oklch(41.8% 0.101 138.9);
Tailwind
colors: {
  custom: {
    50: '#6a885d',
    500: '#2d591f',
    950: '#000000',
  },
}
SCSS
$custom: #2d591f;
$custom-light: #6a885d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d591f",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 105.517,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.41801,
    "c": 0.1005,
    "h": 138.9
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#2D591F
secondary
#7C468E
accent
#50D8B7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D591F

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

Preview Lab → · Contrast checker → · Palette generator →

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