#2F571D#2F571D

#2F571D is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.3% C 0.098 H 137.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2F571D
RGBrgb(47, 87, 29)
HSLhsl(101, 50%, 23%)
HSVhsv(101, 67%, 34%)
CMYKcmyk(46%, 0%, 66.7%, 65.9%)
CIE-LABlab(32.94, -26.10, 28.63)
CIE-LCHlch(32.94, 38.74, 132.36°)
OKLaboklab(41.31% -0.0721 0.0666)
OKLCHoklch(41.31% 0.098 137.3)
XYZxyz(4.8021, 7.5092, 2.3585)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F571D #451D57
analogous
#4C571D #2F571D #1D5728
triadic
#2F571D #1D2F57 #571D2F
tetradic
#2F571D #1D4C57 #451D57 #57281D
square
#2F571D #1D4C57 #451D57 #57281D
split-complementary
#2F571D #281D57 #571D4C
monochromatic
#0C1708 #16290E #2F571D #48852C #61B33C

Accessibility & contrast

On white

8.39
#2F571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F571D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F571D#FFFFFF#000000##FFFFFF
##2F571D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5016
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#2D544B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f571d;
/* rgb */ color: rgb(47, 87, 29);
/* oklch */ color: oklch(41.3% 0.098 137.3);
Tailwind
colors: {
  custom: {
    50: '#6b875c',
    500: '#2f571d',
    950: '#000000',
  },
}
SCSS
$custom: #2f571d;
$custom-light: #6b875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f571d",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 101.379,
    "s": 50,
    "l": 22.745
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.09814,
    "h": 137.3
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#2F571D
secondary
#76448C
accent
#4EDAAE
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F571D

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

Preview Lab → · Contrast checker → · Palette generator →

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