#0C561E#0C561E

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

Color values

HEX#0C561E
RGBrgb(12, 86, 30)
HSLhsl(135, 76%, 19%)
HSVhsv(135, 86%, 34%)
CMYKcmyk(86%, 0%, 65.1%, 66.3%)
CIE-LABlab(31.41, -34.69, 26.06)
CIE-LCHlch(31.41, 43.39, 143.09°)
OKLaboklab(39.72% -0.0933 0.0614)
OKLCHoklch(39.72% 0.112 146.7)
XYZxyz(3.7135, 6.8270, 2.3501)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C561E #560C44
analogous
#1F560C #0C561E #0C5643
triadic
#0C561E #1E0C56 #561E0C
tetradic
#0C561E #0C1F56 #560C44 #56430C
square
#0C561E #0C1F56 #560C44 #56430C
split-complementary
#0C561E #430C56 #560C1F
monochromatic
#041B09 #05200B #0C561E #138C31 #1BC143

Accessibility & contrast

On white

8.88
#0C561E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C561E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C561E#FFFFFF#000000##FFFFFF
##0C561E1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c561e;
/* rgb */ color: rgb(12, 86, 30);
/* oklch */ color: oklch(39.7% 0.112 146.7);
Tailwind
colors: {
  custom: {
    50: '#5a865c',
    500: '#0c561e',
    950: '#000000',
  },
}
SCSS
$custom: #0c561e;
$custom-light: #5a865c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c561e",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 30
  },
  "hsl": {
    "h": 134.595,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39721,
    "c": 0.11173,
    "h": 146.7
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#0C561E
secondary
#912D79
accent
#36C4F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C561E

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

Preview Lab → · Contrast checker → · Palette generator →

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