#0C4703#0C4703

#0C4703 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.8% C 0.112 H 141.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#0C4703
RGBrgb(12, 71, 3)
HSLhsl(112, 92%, 15%)
HSVhsv(112, 96%, 28%)
CMYKcmyk(83.1%, 0%, 95.8%, 72.2%)
CIE-LABlab(25.54, -31.92, 31.95)
CIE-LCHlch(25.54, 45.16, 134.97°)
OKLaboklab(34.77% -0.0872 0.0699)
OKLCHoklch(34.77% 0.112 141.3)
XYZxyz(2.4212, 4.5909, 0.8447)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4703 #3E0347
analogous
#2E4703 #0C4703 #03471C
triadic
#0C4703 #030C47 #47030C
tetradic
#0C4703 #032E47 #3E0347 #471C03
square
#0C4703 #032E47 #3E0347 #471C03
split-complementary
#0C4703 #1C0347 #47032E
monochromatic
#051D01 #051D01 #0C4703 #168205 #20BC08

Accessibility & contrast

On white

10.95
#0C4703 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#0C4703 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4703
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4703#FFFFFF#000000##FFFFFF
##0C47031.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#433B0C
Tritanopia (blue-blind)
#00443B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4703;
/* rgb */ color: rgb(12, 71, 3);
/* oklch */ color: oklch(34.8% 0.112 141.3);
Tailwind
colors: {
  custom: {
    50: '#577b4b',
    500: '#0c4703',
    950: '#000000',
  },
}
SCSS
$custom: #0c4703;
$custom-light: #577b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4703",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 3
  },
  "hsl": {
    "h": 112.059,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34768,
    "c": 0.11174,
    "h": 141.3
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

primary
#0C4703
secondary
#7A1E88
accent
#29FFE3
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4703

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

Preview Lab → · Contrast checker → · Palette generator →

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