#2D591B#2D591B

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

Color values

HEX#2D591B
RGBrgb(45, 89, 27)
HSLhsl(103, 53%, 23%)
HSVhsv(103, 70%, 35%)
CMYKcmyk(49.4%, 0%, 69.7%, 65.1%)
CIE-LABlab(33.52, -27.98, 30.24)
CIE-LCHlch(33.52, 41.20, 132.78°)
OKLaboklab(41.75% -0.0772 0.0698)
OKLCHoklch(41.75% 0.104 137.9)
XYZxyz(4.8522, 7.7815, 2.2830)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D591B #471B59
analogous
#4C591B #2D591B #1B5928
triadic
#2D591B #1B2D59 #591B2D
tetradic
#2D591B #1B4C59 #471B59 #59281B
square
#2D591B #1B4C59 #471B59 #59281B
split-complementary
#2D591B #281B59 #591B4C
monochromatic
#0C1707 #152A0D #2D591B #458829 #5CB737

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D591B#FFFFFF#000000##FFFFFF
##2D591B1.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)
#5C5113
Deuteranopia (green-blind)
#564D20
Tritanopia (blue-blind)
#2A564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d591b;
/* rgb */ color: rgb(45, 89, 27);
/* oklch */ color: oklch(41.8% 0.104 137.9);
Tailwind
colors: {
  custom: {
    50: '#6a885a',
    500: '#2d591b',
    950: '#000000',
  },
}
SCSS
$custom: #2d591b;
$custom-light: #6a885a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d591b",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 102.581,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.10407,
    "h": 137.9
  },
  "luminance": 0.07782
}

Semantic roles & 50–950 ramp

primary
#2D591B
secondary
#78418F
accent
#4BDDB2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2D591B

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

Preview Lab → · Contrast checker → · Palette generator →

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