#0C4308#0C4308

#0C4308 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.104 H 142.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#0C4308
RGBrgb(12, 67, 8)
HSLhsl(116, 79%, 15%)
HSVhsv(116, 88%, 26%)
CMYKcmyk(82.1%, 0%, 88.1%, 73.7%)
CIE-LABlab(24.03, -30.00, 28.46)
CIE-LCHlch(24.03, 41.35, 136.51°)
OKLaboklab(33.53% -0.0817 0.0636)
OKLCHoklch(33.53% 0.104 142.1)
XYZxyz(2.2025, 4.1098, 0.9069)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4308 #3F0843
analogous
#2A4308 #0C4308 #084322
triadic
#0C4308 #080C43 #43080C
tetradic
#0C4308 #082A43 #3F0843 #432208
square
#0C4308 #082A43 #3F0843 #432208
split-complementary
#0C4308 #220843 #43082A
monochromatic
#051B03 #051B03 #0C4308 #167A0F #20B015

Accessibility & contrast

On white

11.53
#0C4308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0C4308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4308
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4308#FFFFFF#000000##FFFFFF
##0C43081.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#3F380F
Tritanopia (blue-blind)
#004138
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4308;
/* rgb */ color: rgb(12, 67, 8);
/* oklch */ color: oklch(33.5% 0.104 142.1);
Tailwind
colors: {
  custom: {
    50: '#56784d',
    500: '#0c4308',
    950: '#000000',
  },
}
SCSS
$custom: #0c4308;
$custom-light: #56784d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4308",
  "rgb": {
    "r": 12,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 115.932,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33527,
    "c": 0.10351,
    "h": 142.1
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#0C4308
secondary
#7B2581
accent
#33F5E8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #0C4308

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

Preview Lab → · Contrast checker → · Palette generator →

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