#0C5615#0C5615

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

Color values

HEX#0C5615
RGBrgb(12, 86, 21)
HSLhsl(127, 76%, 19%)
HSVhsv(127, 86%, 34%)
CMYKcmyk(86%, 0%, 75.6%, 66.3%)
CIE-LABlab(31.32, -35.82, 30.36)
CIE-LCHlch(31.32, 46.95, 139.71°)
OKLaboklab(39.62% -0.0968 0.0695)
OKLCHoklch(39.62% 0.119 144.3)
XYZxyz(3.6145, 6.7874, 1.8289)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5615 #560C4D
analogous
#28560C #0C5615 #0C563A
triadic
#0C5615 #150C56 #56150C
tetradic
#0C5615 #0C2856 #560C4D #563A0C
square
#0C5615 #0C2856 #560C4D #563A0C
split-complementary
#0C5615 #3A0C56 #560C28
monochromatic
#041B07 #052008 #0C5615 #138C22 #1BC12F

Accessibility & contrast

On white

8.91
#0C5615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5615
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5615#FFFFFF#000000##FFFFFF
##0C56151.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5615;
/* rgb */ color: rgb(12, 86, 21);
/* oklch */ color: oklch(39.6% 0.119 144.3);
Tailwind
colors: {
  custom: {
    50: '#5b8656',
    500: '#0c5615',
    950: '#000000',
  },
}
SCSS
$custom: #0c5615;
$custom-light: #5b8656;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5615",
  "rgb": {
    "r": 12,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 127.297,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.11915,
    "h": 144.3
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#0C5615
secondary
#912D85
accent
#36DBF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5615

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

Preview Lab → · Contrast checker → · Palette generator →

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