#0C5618#0C5618

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

Color values

HEX#0C5618
RGBrgb(12, 86, 24)
HSLhsl(130, 76%, 19%)
HSVhsv(130, 86%, 34%)
CMYKcmyk(86%, 0%, 72.1%, 66.3%)
CIE-LABlab(31.35, -35.48, 29.00)
CIE-LCHlch(31.35, 45.82, 140.74°)
OKLaboklab(39.65% -0.0957 0.067)
OKLCHoklch(39.65% 0.117 145)
XYZxyz(3.6440, 6.7992, 1.9843)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5618 #560C4A
analogous
#25560C #0C5618 #0C563D
triadic
#0C5618 #180C56 #56180C
tetradic
#0C5618 #0C2556 #560C4A #563D0C
square
#0C5618 #0C2556 #560C4A #563D0C
split-complementary
#0C5618 #3D0C56 #560C25
monochromatic
#041B07 #052009 #0C5618 #138C27 #1BC136

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5618#FFFFFF#000000##FFFFFF
##0C56181.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)
#584D10
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5618;
/* rgb */ color: rgb(12, 86, 24);
/* oklch */ color: oklch(39.6% 0.117 145.0);
Tailwind
colors: {
  custom: {
    50: '#5b8658',
    500: '#0c5618',
    950: '#000000',
  },
}
SCSS
$custom: #0c5618;
$custom-light: #5b8658;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5618",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 129.73,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39647,
    "c": 0.11685,
    "h": 145
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#0C5618
secondary
#912D81
accent
#36D4F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5618

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

Preview Lab → · Contrast checker → · Palette generator →

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