#0C4719#0C4719

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

Color values

HEX#0C4719
RGBrgb(12, 71, 25)
HSLhsl(133, 71%, 16%)
HSVhsv(133, 83%, 28%)
CMYKcmyk(83.1%, 0%, 64.8%, 72.2%)
CIE-LABlab(25.73, -29.59, 22.13)
CIE-LCHlch(25.73, 36.95, 143.20°)
OKLaboklab(34.99% -0.0797 0.0525)
OKLCHoklch(34.99% 0.095 146.6)
XYZxyz(2.5801, 4.6545, 1.6819)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4719 #470C3A
analogous
#1D470C #0C4719 #0C4737
triadic
#0C4719 #190C47 #47190C
tetradic
#0C4719 #0C1D47 #470C3A #47370C
square
#0C4719 #0C1D47 #470C3A #47370C
split-complementary
#0C4719 #370C47 #470C1D
monochromatic
#041A09 #041A09 #0C4719 #157B2B #1EB03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4719#FFFFFF#000000##FFFFFF
##0C47191.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)
#484014
Deuteranopia (green-blind)
#413B1D
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4719;
/* rgb */ color: rgb(12, 71, 25);
/* oklch */ color: oklch(35.0% 0.095 146.6);
Tailwind
colors: {
  custom: {
    50: '#567b57',
    500: '#0c4719',
    950: '#000000',
  },
}
SCSS
$custom: #0c4719;
$custom-light: #567b57;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4719",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 25
  },
  "hsl": {
    "h": 133.22,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.09541,
    "h": 146.6
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#0C4719
secondary
#832C70
accent
#3AC6EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4719

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

Preview Lab → · Contrast checker → · Palette generator →

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