#0C4718#0C4718

#0C4718 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.0% C 0.096 H 146.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#0C4718
RGBrgb(12, 71, 24)
HSLhsl(132, 71%, 16%)
HSVhsv(132, 83%, 28%)
CMYKcmyk(83.1%, 0%, 66.2%, 72.2%)
CIE-LABlab(25.71, -29.74, 22.67)
CIE-LCHlch(25.71, 37.39, 142.69°)
OKLaboklab(34.97% -0.0801 0.0535)
OKLCHoklch(34.97% 0.096 146.3)
XYZxyz(2.5695, 4.6503, 1.6262)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4718 #470C3B
analogous
#1E470C #0C4718 #0C4736
triadic
#0C4718 #180C47 #47180C
tetradic
#0C4718 #0C1E47 #470C3B #47360C
square
#0C4718 #0C1E47 #470C3B #47360C
split-complementary
#0C4718 #360C47 #470C1E
monochromatic
#041A09 #041A09 #0C4718 #157B2A #1EB03B

Accessibility & contrast

On white

10.88
#0C4718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4718
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4718#FFFFFF#000000##FFFFFF
##0C47181.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484013
Deuteranopia (green-blind)
#413B1C
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4718;
/* rgb */ color: rgb(12, 71, 24);
/* oklch */ color: oklch(35.0% 0.096 146.3);
Tailwind
colors: {
  custom: {
    50: '#567b56',
    500: '#0c4718',
    950: '#000000',
  },
}
SCSS
$custom: #0c4718;
$custom-light: #567b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4718",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 132.203,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34973,
    "c": 0.09637,
    "h": 146.3
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#0C4718
secondary
#832C71
accent
#3AC9EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4718

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

Preview Lab → · Contrast checker → · Palette generator →

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