#2F561F#2F561F

#2F561F is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.0% C 0.095 H 137.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#2F561F
RGBrgb(47, 86, 31)
HSLhsl(103, 47%, 23%)
HSVhsv(103, 64%, 34%)
CMYKcmyk(45.3%, 0%, 64%, 66.3%)
CIE-LABlab(32.61, -25.39, 27.22)
CIE-LCHlch(32.61, 37.22, 133.00°)
OKLaboklab(41.05% -0.07 0.0638)
OKLCHoklch(41.05% 0.095 137.6)
XYZxyz(4.7473, 7.3586, 2.4663)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F561F #461F56
analogous
#4A561F #2F561F #1F562A
triadic
#2F561F #1F2F56 #561F2F
tetradic
#2F561F #1F4A56 #461F56 #562A1F
square
#2F561F #1F4A56 #461F56 #562A1F
split-complementary
#2F561F #2A1F56 #561F4A
monochromatic
#0C1608 #16290F #2F561F #48832F #60B03F

Accessibility & contrast

On white

8.50
#2F561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F561F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F561F#FFFFFF#000000##FFFFFF
##2F561F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#534B23
Tritanopia (blue-blind)
#2D534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f561f;
/* rgb */ color: rgb(47, 86, 31);
/* oklch */ color: oklch(41.0% 0.095 137.6);
Tailwind
colors: {
  custom: {
    50: '#6b865d',
    500: '#2f561f',
    950: '#000000',
  },
}
SCSS
$custom: #2f561f;
$custom-light: #6b865d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f561f",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 102.545,
    "s": 47.009,
    "l": 22.941
  },
  "oklch": {
    "l": 0.41046,
    "c": 0.09471,
    "h": 137.6
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#2F561F
secondary
#77468B
accent
#51D7B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F561F

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

Preview Lab → · Contrast checker → · Palette generator →

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