#2F591A#2F591A

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

Color values

HEX#2F591A
RGBrgb(47, 89, 26)
HSLhsl(100, 55%, 23%)
HSVhsv(100, 71%, 35%)
CMYKcmyk(47.2%, 0%, 70.8%, 65.1%)
CIE-LABlab(33.61, -27.36, 30.84)
CIE-LCHlch(33.61, 41.23, 131.58°)
OKLaboklab(41.85% -0.0758 0.0709)
OKLCHoklch(41.85% 0.104 136.9)
XYZxyz(4.9310, 7.8234, 2.2273)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F591A #441A59
analogous
#4F591A #2F591A #1A5924
triadic
#2F591A #1A2F59 #591A2F
tetradic
#2F591A #1A4F59 #441A59 #59241A
square
#2F591A #1A4F59 #441A59 #59241A
split-complementary
#2F591A #241A59 #591A4F
monochromatic
#0D1807 #162A0C #2F591A #488828 #61B836

Accessibility & contrast

On white

8.19
#2F591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F591A
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F591A#FFFFFF#000000##FFFFFF
##2F591A1.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f591a;
/* rgb */ color: rgb(47, 89, 26);
/* oklch */ color: oklch(41.9% 0.104 136.9);
Tailwind
colors: {
  custom: {
    50: '#6c885a',
    500: '#2f591a',
    950: '#000000',
  },
}
SCSS
$custom: #2f591a;
$custom-light: #6c885a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f591a",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 100,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4185,
    "c": 0.10376,
    "h": 136.9
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#2F591A
secondary
#75408F
accent
#4ADEAD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F591A

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

Preview Lab → · Contrast checker → · Palette generator →

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