#0C5616#0C5616

#0C5616 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.6% C 0.118 H 144.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#0C5616
RGBrgb(12, 86, 22)
HSLhsl(128, 76%, 19%)
HSVhsv(128, 86%, 34%)
CMYKcmyk(86%, 0%, 74.4%, 66.3%)
CIE-LABlab(31.33, -35.71, 29.92)
CIE-LCHlch(31.33, 46.58, 140.04°)
OKLaboklab(39.63% -0.0964 0.0687)
OKLCHoklch(39.63% 0.118 144.5)
XYZxyz(3.6240, 6.7912, 1.8787)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5616 #560C4C
analogous
#27560C #0C5616 #0C563B
triadic
#0C5616 #160C56 #56160C
tetradic
#0C5616 #0C2756 #560C4C #563B0C
square
#0C5616 #0C2756 #560C4C #563B0C
split-complementary
#0C5616 #3B0C56 #560C27
monochromatic
#041B07 #052008 #0C5616 #138C24 #1BC131

Accessibility & contrast

On white

8.90
#0C5616 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5616
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5616#FFFFFF#000000##FFFFFF
##0C56161.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0D
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5616;
/* rgb */ color: rgb(12, 86, 22);
/* oklch */ color: oklch(39.6% 0.118 144.5);
Tailwind
colors: {
  custom: {
    50: '#5b8657',
    500: '#0c5616',
    950: '#000000',
  },
}
SCSS
$custom: #0c5616;
$custom-light: #5b8657;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5616",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 22
  },
  "hsl": {
    "h": 128.108,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39625,
    "c": 0.1184,
    "h": 144.5
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#0C5616
secondary
#912D84
accent
#36D9F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5616

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

Preview Lab → · Contrast checker → · Palette generator →

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