#0C4616#0C4616

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

Color values

HEX#0C4616
RGBrgb(12, 70, 22)
HSLhsl(130, 71%, 16%)
HSVhsv(130, 83%, 27%)
CMYKcmyk(82.9%, 0%, 68.6%, 72.5%)
CIE-LABlab(25.31, -29.63, 23.28)
CIE-LCHlch(25.31, 37.68, 141.84°)
OKLaboklab(34.63% -0.0799 0.0547)
OKLCHoklch(34.63% 0.097 145.6)
XYZxyz(2.4864, 4.5161, 1.4996)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4616 #460C3C
analogous
#1F460C #0C4616 #0C4633
triadic
#0C4616 #160C46 #46160C
tetradic
#0C4616 #0C1F46 #460C3C #46330C
square
#0C4616 #0C1F46 #460C3C #46330C
split-complementary
#0C4616 #330C46 #460C1F
monochromatic
#041A08 #041A08 #0C4616 #157A26 #1EAE37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4616#FFFFFF#000000##FFFFFF
##0C46161.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)
#473F11
Deuteranopia (green-blind)
#413A1A
Tritanopia (blue-blind)
#00443C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4616;
/* rgb */ color: rgb(12, 70, 22);
/* oklch */ color: oklch(34.6% 0.097 145.6);
Tailwind
colors: {
  custom: {
    50: '#567a55',
    500: '#0c4616',
    950: '#000000',
  },
}
SCSS
$custom: #0c4616;
$custom-light: #567a55;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4616",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 22
  },
  "hsl": {
    "h": 130.345,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34629,
    "c": 0.09681,
    "h": 145.6
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#0C4616
secondary
#822C73
accent
#3ACFED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4616

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

Preview Lab → · Contrast checker → · Palette generator →

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