#0C4716#0C4716

#0C4716 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.098 H 145.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#0C4716
RGBrgb(12, 71, 22)
HSLhsl(130, 71%, 16%)
HSVhsv(130, 83%, 28%)
CMYKcmyk(83.1%, 0%, 69%, 72.2%)
CIE-LABlab(25.69, -30.03, 23.72)
CIE-LCHlch(25.69, 38.26, 141.70°)
OKLaboklab(34.95% -0.081 0.0556)
OKLCHoklch(34.95% 0.098 145.5)
XYZxyz(2.5495, 4.6423, 1.5206)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4716 #470C3D
analogous
#20470C #0C4716 #0C4734
triadic
#0C4716 #160C47 #47160C
tetradic
#0C4716 #0C2047 #470C3D #47340C
square
#0C4716 #0C2047 #470C3D #47340C
split-complementary
#0C4716 #340C47 #470C20
monochromatic
#041A08 #041A08 #0C4716 #157B26 #1EB036

Accessibility & contrast

On white

10.89
#0C4716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0C4716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4716
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4716#FFFFFF#000000##FFFFFF
##0C47161.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484011
Deuteranopia (green-blind)
#423B1A
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4716;
/* rgb */ color: rgb(12, 71, 22);
/* oklch */ color: oklch(34.9% 0.098 145.5);
Tailwind
colors: {
  custom: {
    50: '#567b55',
    500: '#0c4716',
    950: '#000000',
  },
}
SCSS
$custom: #0c4716;
$custom-light: #567b55;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4716",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 22
  },
  "hsl": {
    "h": 130.169,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34945,
    "c": 0.09823,
    "h": 145.5
  },
  "luminance": 0.04643
}

Semantic roles & 50–950 ramp

primary
#0C4716
secondary
#832C74
accent
#3ACFEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4716

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

Preview Lab → · Contrast checker → · Palette generator →

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