#0C4108#0C4108

#0C4108 is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.9% C 0.101 H 142.1°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#0C4108
RGBrgb(12, 65, 8)
HSLhsl(116, 78%, 14%)
HSVhsv(116, 88%, 25%)
CMYKcmyk(81.5%, 0%, 87.7%, 74.5%)
CIE-LABlab(23.26, -29.23, 27.69)
CIE-LCHlch(23.26, 40.26, 136.56°)
OKLaboklab(32.89% -0.0796 0.062)
OKLCHoklch(32.89% 0.101 142.1)
XYZxyz(2.0856, 3.8761, 0.8679)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4108 #3D0841
analogous
#294108 #0C4108 #084121
triadic
#0C4108 #080C41 #41080C
tetradic
#0C4108 #082941 #3D0841 #412108
square
#0C4108 #082941 #3D0841 #412108
split-complementary
#0C4108 #210841 #410829
monochromatic
#051B03 #051B03 #0C4108 #16770F #20AE15

Accessibility & contrast

On white

11.83
#0C4108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0C4108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4108
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4108#FFFFFF#000000##FFFFFF
##0C41081.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#003F36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c4108;
/* rgb */ color: rgb(12, 65, 8);
/* oklch */ color: oklch(32.9% 0.101 142.1);
Tailwind
colors: {
  custom: {
    50: '#55764c',
    500: '#0c4108',
    950: '#000000',
  },
}
SCSS
$custom: #0c4108;
$custom-light: #55764c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4108",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 115.789,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32885,
    "c": 0.10091,
    "h": 142.1
  },
  "luminance": 0.03876
}

Semantic roles & 50–950 ramp

primary
#0C4108
secondary
#79257F
accent
#33F5E7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C4108

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

Preview Lab → · Contrast checker → · Palette generator →

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