#0C4105#0C4105

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

Color values

HEX#0C4105
RGBrgb(12, 65, 5)
HSLhsl(113, 86%, 14%)
HSVhsv(113, 92%, 25%)
CMYKcmyk(81.5%, 0%, 92.3%, 74.5%)
CIE-LABlab(23.24, -29.50, 28.88)
CIE-LCHlch(23.24, 41.29, 135.61°)
OKLaboklab(32.86% -0.0805 0.0642)
OKLCHoklch(32.86% 0.103 141.4)
XYZxyz(2.0692, 3.8695, 0.7814)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4105 #3A0541
analogous
#2A4105 #0C4105 #05411C
triadic
#0C4105 #050C41 #41050C
tetradic
#0C4105 #052A41 #3A0541 #411C05
square
#0C4105 #052A41 #3A0541 #411C05
split-complementary
#0C4105 #1C0541 #41052A
monochromatic
#051C02 #051C02 #0C4105 #167A09 #21B30E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4105#FFFFFF#000000##FFFFFF
##0C41051.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)
#3D360C
Tritanopia (blue-blind)
#013F36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c4105;
/* rgb */ color: rgb(12, 65, 5);
/* oklch */ color: oklch(32.9% 0.103 141.4);
Tailwind
colors: {
  custom: {
    50: '#56764b',
    500: '#0c4105',
    950: '#000000',
  },
}
SCSS
$custom: #0c4105;
$custom-light: #56764b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4105",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 5
  },
  "hsl": {
    "h": 113,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32859,
    "c": 0.10299,
    "h": 141.4
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#0C4105
secondary
#762081
accent
#2CFCE4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C4105

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

Preview Lab → · Contrast checker → · Palette generator →

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