#2F571E#2F571E

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

Color values

HEX#2F571E
RGBrgb(47, 87, 30)
HSLhsl(102, 49%, 23%)
HSVhsv(102, 66%, 34%)
CMYKcmyk(46%, 0%, 65.5%, 65.9%)
CIE-LABlab(32.95, -25.99, 28.13)
CIE-LCHlch(32.95, 38.30, 132.73°)
OKLaboklab(41.32% -0.0717 0.0657)
OKLCHoklch(41.32% 0.097 137.5)
XYZxyz(4.8147, 7.5142, 2.4247)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F571E #461E57
analogous
#4B571E #2F571E #1E5729
triadic
#2F571E #1E2F57 #571E2F
tetradic
#2F571E #1E4B57 #461E57 #57291E
square
#2F571E #1E4B57 #461E57 #57291E
split-complementary
#2F571E #291E57 #571E4B
monochromatic
#0C1708 #16290E #2F571E #48852E #60B23D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F571E#FFFFFF#000000##FFFFFF
##2F571E1.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)
#5A5018
Deuteranopia (green-blind)
#544C22
Tritanopia (blue-blind)
#2D544B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f571e;
/* rgb */ color: rgb(47, 87, 30);
/* oklch */ color: oklch(41.3% 0.097 137.5);
Tailwind
colors: {
  custom: {
    50: '#6b875c',
    500: '#2f571e',
    950: '#000000',
  },
}
SCSS
$custom: #2f571e;
$custom-light: #6b875c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f571e",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 30
  },
  "hsl": {
    "h": 102.105,
    "s": 48.718,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41321,
    "c": 0.09721,
    "h": 137.5
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#2F571E
secondary
#77458C
accent
#50D8AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F571E

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

Preview Lab → · Contrast checker → · Palette generator →

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