#0C4208#0C4208

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

Color values

HEX#0C4208
RGBrgb(12, 66, 8)
HSLhsl(116, 78%, 15%)
HSVhsv(116, 88%, 26%)
CMYKcmyk(81.8%, 0%, 87.9%, 74.1%)
CIE-LABlab(23.64, -29.62, 28.08)
CIE-LCHlch(23.64, 40.81, 136.53°)
OKLaboklab(33.21% -0.0806 0.0628)
OKLCHoklch(33.21% 0.102 142.1)
XYZxyz(2.1435, 3.9919, 0.8872)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4208 #3E0842
analogous
#294208 #0C4208 #084221
triadic
#0C4208 #080C42 #42080C
tetradic
#0C4208 #082942 #3E0842 #422108
square
#0C4208 #082942 #3E0842 #422108
split-complementary
#0C4208 #210842 #420829
monochromatic
#051B03 #051B03 #0C4208 #16790F #20AF15

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4208#FFFFFF#000000##FFFFFF
##0C42081.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)
#3E370F
Tritanopia (blue-blind)
#004037
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4208;
/* rgb */ color: rgb(12, 66, 8);
/* oklch */ color: oklch(33.2% 0.102 142.1);
Tailwind
colors: {
  custom: {
    50: '#56774c',
    500: '#0c4208',
    950: '#000000',
  },
}
SCSS
$custom: #0c4208;
$custom-light: #56774c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4208",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 8
  },
  "hsl": {
    "h": 115.862,
    "s": 78.378,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33206,
    "c": 0.10221,
    "h": 142.1
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#0C4208
secondary
#7A2580
accent
#33F5E7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #0C4208

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

Preview Lab → · Contrast checker → · Palette generator →

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