#0C4617#0C4617

#0C4617 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.6% C 0.096 H 146.0°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#0C4617
RGBrgb(12, 70, 23)
HSLhsl(131, 71%, 16%)
HSVhsv(131, 83%, 27%)
CMYKcmyk(82.9%, 0%, 67.1%, 72.5%)
CIE-LABlab(25.32, -29.48, 22.76)
CIE-LCHlch(25.32, 37.25, 142.34°)
OKLaboklab(34.64% -0.0795 0.0536)
OKLCHoklch(34.64% 0.096 146)
XYZxyz(2.4963, 4.5201, 1.5513)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4617 #460C3B
analogous
#1E460C #0C4617 #0C4634
triadic
#0C4617 #170C46 #46170C
tetradic
#0C4617 #0C1E46 #460C3B #46340C
square
#0C4617 #0C1E46 #460C3B #46340C
split-complementary
#0C4617 #340C46 #460C1E
monochromatic
#041A09 #041A09 #0C4617 #157A28 #1EAE39

Accessibility & contrast

On white

11.03
#0C4617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4617
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4617#FFFFFF#000000##FFFFFF
##0C46171.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F12
Deuteranopia (green-blind)
#413A1B
Tritanopia (blue-blind)
#00443C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4617;
/* rgb */ color: rgb(12, 70, 23);
/* oklch */ color: oklch(34.6% 0.096 146.0);
Tailwind
colors: {
  custom: {
    50: '#567a56',
    500: '#0c4617',
    950: '#000000',
  },
}
SCSS
$custom: #0c4617;
$custom-light: #567a56;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4617",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 23
  },
  "hsl": {
    "h": 131.379,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34643,
    "c": 0.09588,
    "h": 146
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#0C4617
secondary
#822C72
accent
#3ACCED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4617

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

Preview Lab → · Contrast checker → · Palette generator →

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