#0C4107#0C4107

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

Color values

HEX#0C4107
RGBrgb(12, 65, 7)
HSLhsl(115, 81%, 14%)
HSVhsv(115, 89%, 25%)
CMYKcmyk(81.5%, 0%, 89.2%, 74.5%)
CIE-LABlab(23.25, -29.32, 28.08)
CIE-LCHlch(23.25, 40.60, 136.24°)
OKLaboklab(32.88% -0.0799 0.0628)
OKLCHoklch(32.88% 0.102 141.9)
XYZxyz(2.0801, 3.8739, 0.8391)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4107 #3C0741
analogous
#294107 #0C4107 #07411F
triadic
#0C4107 #070C41 #41070C
tetradic
#0C4107 #072941 #3C0741 #411F07
square
#0C4107 #072941 #3C0741 #411F07
split-complementary
#0C4107 #1F0741 #410729
monochromatic
#051C03 #051C03 #0C4107 #16780D #20B013

Accessibility & contrast

On white

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

On black

1.77
#0C4107 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0C4107#FFFFFF#000000##FFFFFF
##0C41071.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4107;
/* rgb */ color: rgb(12, 65, 7);
/* oklch */ color: oklch(32.9% 0.102 141.9);
Tailwind
colors: {
  custom: {
    50: '#55764c',
    500: '#0c4107',
    950: '#000000',
  },
}
SCSS
$custom: #0c4107;
$custom-light: #55764c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4107",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 7
  },
  "hsl": {
    "h": 114.828,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32876,
    "c": 0.1016,
    "h": 141.9
  },
  "luminance": 0.03874
}

Semantic roles & 50–950 ramp

primary
#0C4107
secondary
#782480
accent
#31F7E6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C4107

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

Preview Lab → · Contrast checker → · Palette generator →

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