#0C4408#0C4408

#0C4408 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.8% C 0.105 H 142.1°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#0C4408
RGBrgb(12, 68, 8)
HSLhsl(116, 79%, 15%)
HSVhsv(116, 88%, 27%)
CMYKcmyk(82.4%, 0%, 88.2%, 73.3%)
CIE-LABlab(24.42, -30.38, 28.84)
CIE-LCHlch(24.42, 41.89, 136.49°)
OKLaboklab(33.85% -0.0827 0.0644)
OKLCHoklch(33.85% 0.105 142.1)
XYZxyz(2.2624, 4.2297, 0.9269)
Luminance0.0423 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4408 #400844
analogous
#2A4408 #0C4408 #084422
triadic
#0C4408 #080C44 #44080C
tetradic
#0C4408 #082A44 #400844 #442208
square
#0C4408 #082A44 #400844 #442208
split-complementary
#0C4408 #220844 #44082A
monochromatic
#051B03 #051B03 #0C4408 #167B0E #1FB215

Accessibility & contrast

On white

11.38
#0C4408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#0C4408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4408
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4408#FFFFFF#000000##FFFFFF
##0C44081.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#40380F
Tritanopia (blue-blind)
#004239
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4408;
/* rgb */ color: rgb(12, 68, 8);
/* oklch */ color: oklch(33.8% 0.105 142.1);
Tailwind
colors: {
  custom: {
    50: '#56794d',
    500: '#0c4408',
    950: '#000000',
  },
}
SCSS
$custom: #0c4408;
$custom-light: #56794d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4408",
  "rgb": {
    "r": 12,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 116,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33848,
    "c": 0.10479,
    "h": 142.1
  },
  "luminance": 0.0423
}

Semantic roles & 50–950 ramp

primary
#0C4408
secondary
#7C2682
accent
#32F5E8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #0C4408

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

Preview Lab → · Contrast checker → · Palette generator →

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