#2F562A#2F562A

#2F562A is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.2% C 0.083 H 141.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2F562A
RGBrgb(47, 86, 42)
HSLhsl(113, 34%, 25%)
HSVhsv(113, 51%, 34%)
CMYKcmyk(45.3%, 0%, 51.2%, 66.3%)
CIE-LABlab(32.76, -23.86, 21.31)
CIE-LCHlch(32.76, 31.99, 138.23°)
OKLaboklab(41.22% -0.0651 0.0517)
OKLCHoklch(41.22% 0.083 141.5)
XYZxyz(4.9178, 7.4268, 3.3644)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F562A #512A56
analogous
#45562A #2F562A #2A563B
triadic
#2F562A #2A2F56 #562A2F
tetradic
#2F562A #2A4556 #512A56 #563B2A
square
#2F562A #2A4556 #512A56 #563B2A
split-complementary
#2F562A #3B2A56 #562A45
monochromatic
#0B150A #192D16 #2F562A #457F3E #5CA852

Accessibility & contrast

On white

8.45
#2F562A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F562A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F562A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F562A#FFFFFF#000000##FFFFFF
##2F562A1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F26
Deuteranopia (green-blind)
#524C2D
Tritanopia (blue-blind)
#2B544C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f562a;
/* rgb */ color: rgb(47, 86, 42);
/* oklch */ color: oklch(41.2% 0.083 141.5);
Tailwind
colors: {
  custom: {
    50: '#6a8664',
    500: '#2f562a',
    950: '#000000',
  },
}
SCSS
$custom: #2f562a;
$custom-light: #6a8664;
$custom-dark: #000000;
JSON
{
  "hex": "#2f562a",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 42
  },
  "hsl": {
    "h": 113.182,
    "s": 34.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.08316,
    "h": 141.5
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#2F562A
secondary
#825388
accent
#5DCABE
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#070B05
muted
#7A7C7A

Preview Lab

Preview with #2F562A

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

Preview Lab → · Contrast checker → · Palette generator →

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