#0C5612#0C5612

#0C5612 is a dark, vivid green. Relative luminance 0.068; OKLCH L 39.6% C 0.121 H 143.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#0C5612
RGBrgb(12, 86, 18)
HSLhsl(125, 76%, 19%)
HSVhsv(125, 86%, 34%)
CMYKcmyk(86%, 0%, 79.1%, 66.3%)
CIE-LABlab(31.29, -36.12, 31.64)
CIE-LCHlch(31.29, 48.02, 138.78°)
OKLaboklab(39.59% -0.0977 0.0718)
OKLCHoklch(39.59% 0.121 143.7)
XYZxyz(3.5883, 6.7770, 1.6911)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5612 #560C50
analogous
#2B560C #0C5612 #0C5637
triadic
#0C5612 #120C56 #56120C
tetradic
#0C5612 #0C2B56 #560C50 #56370C
square
#0C5612 #0C2B56 #560C50 #56370C
split-complementary
#0C5612 #370C56 #560C2B
monochromatic
#041B06 #052007 #0C5612 #138C1D #1BC128

Accessibility & contrast

On white

8.92
#0C5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0C5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5612
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5612#FFFFFF#000000##FFFFFF
##0C56121.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5612;
/* rgb */ color: rgb(12, 86, 18);
/* oklch */ color: oklch(39.6% 0.121 143.7);
Tailwind
colors: {
  custom: {
    50: '#5b8655',
    500: '#0c5612',
    950: '#000000',
  },
}
SCSS
$custom: #0c5612;
$custom-light: #5b8655;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5612",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 124.865,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.12126,
    "h": 143.7
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#0C5612
secondary
#912D89
accent
#36E3F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0C5612

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

Preview Lab → · Contrast checker → · Palette generator →

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