#0C4608#0C4608

#0C4608 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.5% C 0.107 H 142.1°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#0C4608
RGBrgb(12, 70, 8)
HSLhsl(116, 79%, 15%)
HSVhsv(116, 89%, 27%)
CMYKcmyk(82.9%, 0%, 88.6%, 72.5%)
CIE-LABlab(25.19, -31.13, 29.58)
CIE-LCHlch(25.19, 42.94, 136.47°)
OKLaboklab(34.49% -0.0847 0.0659)
OKLCHoklch(34.49% 0.107 142.1)
XYZxyz(2.3855, 4.4757, 0.9679)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4608 #420846
analogous
#2B4608 #0C4608 #084623
triadic
#0C4608 #080C46 #46080C
tetradic
#0C4608 #082B46 #420846 #462308
square
#0C4608 #082B46 #420846 #462308
split-complementary
#0C4608 #230846 #46082B
monochromatic
#051B03 #051B03 #0C4608 #157D0E #1FB415

Accessibility & contrast

On white

11.08
#0C4608 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#0C4608 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4608
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4608#FFFFFF#000000##FFFFFF
##0C46081.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E00
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#00443B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4608;
/* rgb */ color: rgb(12, 70, 8);
/* oklch */ color: oklch(34.5% 0.107 142.1);
Tailwind
colors: {
  custom: {
    50: '#577a4d',
    500: '#0c4608',
    950: '#000000',
  },
}
SCSS
$custom: #0c4608;
$custom-light: #577a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4608",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 8
  },
  "hsl": {
    "h": 116.129,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34487,
    "c": 0.10734,
    "h": 142.1
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#0C4608
secondary
#7E2684
accent
#32F6E9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4608

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

Preview Lab → · Contrast checker → · Palette generator →

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