#2F561C#2F561C

#2F561C is a dark, moderate green. Relative luminance 0.073; OKLCH L 41.0% C 0.098 H 136.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#2F561C
RGBrgb(47, 86, 28)
HSLhsl(100, 51%, 22%)
HSVhsv(100, 67%, 34%)
CMYKcmyk(45.3%, 0%, 67.4%, 66.3%)
CIE-LABlab(32.58, -25.73, 28.73)
CIE-LCHlch(32.58, 38.57, 131.86°)
OKLaboklab(41.01% -0.0712 0.0667)
OKLCHoklch(41.01% 0.098 136.9)
XYZxyz(4.7095, 7.3435, 2.2677)
Luminance0.0734 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F561C #431C56
analogous
#4C561C #2F561C #1C5626
triadic
#2F561C #1C2F56 #561C2F
tetradic
#2F561C #1C4C56 #431C56 #56261C
square
#2F561C #1C4C56 #431C56 #56261C
split-complementary
#2F561C #261C56 #561C4C
monochromatic
#0D1708 #16280D #2F561C #48842B #61B23A

Accessibility & contrast

On white

8.51
#2F561C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F561C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F561C
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F561C#FFFFFF#000000##FFFFFF
##2F561C1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F15
Deuteranopia (green-blind)
#544B21
Tritanopia (blue-blind)
#2D534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f561c;
/* rgb */ color: rgb(47, 86, 28);
/* oklch */ color: oklch(41.0% 0.098 136.9);
Tailwind
colors: {
  custom: {
    50: '#6b865b',
    500: '#2f561c',
    950: '#000000',
  },
}
SCSS
$custom: #2f561c;
$custom-light: #6b865b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f561c",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 28
  },
  "hsl": {
    "h": 100.345,
    "s": 50.877,
    "l": 22.353
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.09753,
    "h": 136.9
  },
  "luminance": 0.07344
}

Semantic roles & 50–950 ramp

primary
#2F561C
secondary
#74428C
accent
#4DDAAC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F561C

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

Preview Lab → · Contrast checker → · Palette generator →

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