#2F591D#2F591D

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

Color values

HEX#2F591D
RGBrgb(47, 89, 29)
HSLhsl(102, 51%, 23%)
HSVhsv(102, 67%, 35%)
CMYKcmyk(47.2%, 0%, 67.4%, 65.1%)
CIE-LABlab(33.64, -27.05, 29.41)
CIE-LCHlch(33.64, 39.96, 132.61°)
OKLaboklab(41.88% -0.0747 0.0683)
OKLCHoklch(41.88% 0.101 137.6)
XYZxyz(4.9663, 7.8375, 2.4133)
Luminance0.0784 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F591D #471D59
analogous
#4D591D #2F591D #1D5929
triadic
#2F591D #1D2F59 #591D2F
tetradic
#2F591D #1D4D59 #471D59 #59291D
square
#2F591D #1D4D59 #471D59 #59291D
split-complementary
#2F591D #291D59 #591D4D
monochromatic
#0C1708 #172B0E #2F591D #47872C #60B53B

Accessibility & contrast

On white

8.18
#2F591D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2F591D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F591D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F591D#FFFFFF#000000##FFFFFF
##2F591D1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f591d;
/* rgb */ color: rgb(47, 89, 29);
/* oklch */ color: oklch(41.9% 0.101 137.6);
Tailwind
colors: {
  custom: {
    50: '#6b885c',
    500: '#2f591d',
    950: '#000000',
  },
}
SCSS
$custom: #2f591d;
$custom-light: #6b885c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f591d",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 29
  },
  "hsl": {
    "h": 102,
    "s": 50.847,
    "l": 23.137
  },
  "oklch": {
    "l": 0.41884,
    "c": 0.10117,
    "h": 137.6
  },
  "luminance": 0.07838
}

Semantic roles & 50–950 ramp

primary
#2F591D
secondary
#78448E
accent
#4DDAB0
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F591D

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

Preview Lab → · Contrast checker → · Palette generator →

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