#2F591C#2F591C

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

Color values

HEX#2F591C
RGBrgb(47, 89, 28)
HSLhsl(101, 52%, 23%)
HSVhsv(101, 69%, 35%)
CMYKcmyk(47.2%, 0%, 68.5%, 65.1%)
CIE-LABlab(33.63, -27.16, 29.89)
CIE-LCHlch(33.63, 40.39, 132.25°)
OKLaboklab(41.87% -0.075 0.0692)
OKLCHoklch(41.87% 0.102 137.3)
XYZxyz(4.9541, 7.8326, 2.3492)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F591C #461C59
analogous
#4D591C #2F591C #1C5927
triadic
#2F591C #1C2F59 #591C2F
tetradic
#2F591C #1C4D59 #461C59 #59271C
square
#2F591C #1C4D59 #461C59 #59271C
split-complementary
#2F591C #271C59 #591C4D
monochromatic
#0C1707 #162A0D #2F591C #48882B #60B639

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F591C#FFFFFF#000000##FFFFFF
##2F591C1.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)
#5C5115
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#2D564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f591c;
/* rgb */ color: rgb(47, 89, 28);
/* oklch */ color: oklch(41.9% 0.102 137.3);
Tailwind
colors: {
  custom: {
    50: '#6b885b',
    500: '#2f591c',
    950: '#000000',
  },
}
SCSS
$custom: #2f591c;
$custom-light: #6b885b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f591c",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 101.311,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41872,
    "c": 0.10206,
    "h": 137.3
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#2F591C
secondary
#77428F
accent
#4CDCAF
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F591C

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

Preview Lab → · Contrast checker → · Palette generator →

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