#0C561F#0C561F

#0C561F is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.111 H 147.0°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#0C561F
RGBrgb(12, 86, 31)
HSLhsl(135, 76%, 19%)
HSVhsv(135, 86%, 34%)
CMYKcmyk(86%, 0%, 64%, 66.3%)
CIE-LABlab(31.42, -34.55, 25.54)
CIE-LCHlch(31.42, 42.96, 143.52°)
OKLaboklab(39.74% -0.0929 0.0604)
OKLCHoklch(39.74% 0.111 147)
XYZxyz(3.7264, 6.8322, 2.4184)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C561F #560C43
analogous
#1E560C #0C561F #0C5644
triadic
#0C561F #1F0C56 #561F0C
tetradic
#0C561F #0C1E56 #560C43 #56440C
square
#0C561F #0C1E56 #560C43 #56440C
split-complementary
#0C561F #440C56 #560C1E
monochromatic
#041B0A #05200C #0C561F #138C32 #1BC146

Accessibility & contrast

On white

8.87
#0C561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0C561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C561F
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C561F#FFFFFF#000000##FFFFFF
##0C561F1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D19
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c561f;
/* rgb */ color: rgb(12, 86, 31);
/* oklch */ color: oklch(39.7% 0.111 147.0);
Tailwind
colors: {
  custom: {
    50: '#5a865d',
    500: '#0c561f',
    950: '#000000',
  },
}
SCSS
$custom: #0c561f;
$custom-light: #5a865d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c561f",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 135.405,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39735,
    "c": 0.11081,
    "h": 147
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#0C561F
secondary
#912D77
accent
#36C2F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C561F

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

Preview Lab → · Contrast checker → · Palette generator →

#0C561F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva