#2D591C#2D591C

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

Color values

HEX#2D591C
RGBrgb(45, 89, 28)
HSLhsl(103, 52%, 23%)
HSVhsv(103, 69%, 35%)
CMYKcmyk(49.4%, 0%, 68.5%, 65.1%)
CIE-LABlab(33.53, -27.87, 29.76)
CIE-LCHlch(33.53, 40.77, 133.13°)
OKLaboklab(41.77% -0.0768 0.0689)
OKLCHoklch(41.77% 0.103 138.1)
XYZxyz(4.8640, 7.7862, 2.3450)
Luminance0.0779 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D591C #481C59
analogous
#4B591C #2D591C #1C5929
triadic
#2D591C #1C2D59 #591C2D
tetradic
#2D591C #1C4B59 #481C59 #59291C
square
#2D591C #1C4B59 #481C59 #59291C
split-complementary
#2D591C #291C59 #591C4B
monochromatic
#0C1707 #152A0D #2D591C #45882B #5CB639

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D591C#FFFFFF#000000##FFFFFF
##2D591C1.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)
#5C5115
Deuteranopia (green-blind)
#564D21
Tritanopia (blue-blind)
#2A564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d591c;
/* rgb */ color: rgb(45, 89, 28);
/* oklch */ color: oklch(41.8% 0.103 138.1);
Tailwind
colors: {
  custom: {
    50: '#6a885b',
    500: '#2d591c',
    950: '#000000',
  },
}
SCSS
$custom: #2d591c;
$custom-light: #6a885b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d591c",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 103.279,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41765,
    "c": 0.10321,
    "h": 138.1
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#2D591C
secondary
#79428F
accent
#4CDCB4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D591C

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

Preview Lab → · Contrast checker → · Palette generator →

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