#0C4205#0C4205

#0C4205 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.104 H 141.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#0C4205
RGBrgb(12, 66, 5)
HSLhsl(113, 86%, 14%)
HSVhsv(113, 92%, 26%)
CMYKcmyk(81.8%, 0%, 92.4%, 74.1%)
CIE-LABlab(23.62, -29.89, 29.28)
CIE-LCHlch(23.62, 41.84, 135.59°)
OKLaboklab(33.18% -0.0815 0.0649)
OKLCHoklch(33.18% 0.104 141.5)
XYZxyz(2.1271, 3.9853, 0.8007)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4205 #3B0542
analogous
#2B4205 #0C4205 #05421D
triadic
#0C4205 #050C42 #42050C
tetradic
#0C4205 #052B42 #3B0542 #421D05
square
#0C4205 #052B42 #3B0542 #421D05
split-complementary
#0C4205 #1D0542 #42052B
monochromatic
#051C02 #051C02 #0C4205 #167B09 #21B40E

Accessibility & contrast

On white

11.68
#0C4205 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0C4205 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4205
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4205#FFFFFF#000000##FFFFFF
##0C42051.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B00
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#014037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4205;
/* rgb */ color: rgb(12, 66, 5);
/* oklch */ color: oklch(33.2% 0.104 141.5);
Tailwind
colors: {
  custom: {
    50: '#56774b',
    500: '#0c4205',
    950: '#000000',
  },
}
SCSS
$custom: #0c4205;
$custom-light: #56774b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4205",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 5
  },
  "hsl": {
    "h": 113.115,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.33181,
    "c": 0.10425,
    "h": 141.5
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#0C4205
secondary
#772082
accent
#2CFCE4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #0C4205

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

Preview Lab → · Contrast checker → · Palette generator →

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