#2D591E#2D591E

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

Color values

HEX#2D591E
RGBrgb(45, 89, 30)
HSLhsl(105, 50%, 23%)
HSVhsv(105, 66%, 35%)
CMYKcmyk(49.4%, 0%, 66.3%, 65.1%)
CIE-LABlab(33.55, -27.65, 28.78)
CIE-LCHlch(33.55, 39.91, 133.85°)
OKLaboklab(41.79% -0.0761 0.0671)
OKLCHoklch(41.79% 0.101 138.6)
XYZxyz(4.8887, 7.7961, 2.4752)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D591E #4A1E59
analogous
#4A591E #2D591E #1E592C
triadic
#2D591E #1E2D59 #591E2D
tetradic
#2D591E #1E4A59 #4A1E59 #592C1E
square
#2D591E #1E4A59 #4A1E59 #592C1E
split-complementary
#2D591E #2C1E59 #591E4A
monochromatic
#0C1708 #162B0F #2D591E #44872D #5BB53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D591E#FFFFFF#000000##FFFFFF
##2D591E1.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)
#5C5117
Deuteranopia (green-blind)
#564D23
Tritanopia (blue-blind)
#2A564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d591e;
/* rgb */ color: rgb(45, 89, 30);
/* oklch */ color: oklch(41.8% 0.101 138.6);
Tailwind
colors: {
  custom: {
    50: '#6a885c',
    500: '#2d591e',
    950: '#000000',
  },
}
SCSS
$custom: #2d591e;
$custom-light: #6a885c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d591e",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 30
  },
  "hsl": {
    "h": 104.746,
    "s": 49.58,
    "l": 23.333
  },
  "oklch": {
    "l": 0.41789,
    "c": 0.10142,
    "h": 138.6
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#2D591E
secondary
#7B458E
accent
#4FD9B6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D591E

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

Preview Lab → · Contrast checker → · Palette generator →

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