#0C4104#0C4104

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

Color values

HEX#0C4104
RGBrgb(12, 65, 4)
HSLhsl(112, 88%, 14%)
HSVhsv(112, 94%, 25%)
CMYKcmyk(81.5%, 0%, 93.8%, 74.5%)
CIE-LABlab(23.23, -29.60, 29.28)
CIE-LCHlch(23.23, 41.64, 135.30°)
OKLaboklab(32.85% -0.0808 0.0649)
OKLCHoklch(32.85% 0.104 141.2)
XYZxyz(2.0637, 3.8673, 0.7525)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4104 #390441
analogous
#2A4104 #0C4104 #04411A
triadic
#0C4104 #040C41 #41040C
tetradic
#0C4104 #042A41 #390441 #411A04
square
#0C4104 #042A41 #390441 #411A04
split-complementary
#0C4104 #1A0441 #41042A
monochromatic
#051D02 #051D02 #0C4104 #177B08 #21B40B

Accessibility & contrast

On white

11.84
#0C4104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4104
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4104#FFFFFF#000000##FFFFFF
##0C41041.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4104;
/* rgb */ color: rgb(12, 65, 4);
/* oklch */ color: oklch(32.9% 0.104 141.2);
Tailwind
colors: {
  custom: {
    50: '#56764a',
    500: '#0c4104',
    950: '#000000',
  },
}
SCSS
$custom: #0c4104;
$custom-light: #56764a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4104",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 112.131,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32851,
    "c": 0.10369,
    "h": 141.2
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#0C4104
secondary
#751F82
accent
#29FFE3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C4104

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

Preview Lab → · Contrast checker → · Palette generator →

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