#0C4706#0C4706

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

Color values

HEX#0C4706
RGBrgb(12, 71, 6)
HSLhsl(114, 84%, 15%)
HSVhsv(114, 92%, 28%)
CMYKcmyk(83.1%, 0%, 91.5%, 72.2%)
CIE-LABlab(25.56, -31.67, 30.74)
CIE-LCHlch(25.56, 44.14, 135.85°)
OKLaboklab(34.79% -0.0863 0.0679)
OKLCHoklch(34.79% 0.11 141.8)
XYZxyz(2.4376, 4.5975, 0.9312)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4706 #410647
analogous
#2C4706 #0C4706 #064721
triadic
#0C4706 #060C47 #47060C
tetradic
#0C4706 #062C47 #410647 #472106
square
#0C4706 #062C47 #410647 #472106
split-complementary
#0C4706 #210647 #47062C
monochromatic
#051C02 #051C02 #0C4706 #167F0B #1FB810

Accessibility & contrast

On white

10.94
#0C4706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4706
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4706#FFFFFF#000000##FFFFFF
##0C47061.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F00
Deuteranopia (green-blind)
#423B0E
Tritanopia (blue-blind)
#00443B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4706;
/* rgb */ color: rgb(12, 71, 6);
/* oklch */ color: oklch(34.8% 0.110 141.8);
Tailwind
colors: {
  custom: {
    50: '#577b4c',
    500: '#0c4706',
    950: '#000000',
  },
}
SCSS
$custom: #0c4706;
$custom-light: #577b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4706",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 6
  },
  "hsl": {
    "h": 114.462,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.3479,
    "c": 0.10983,
    "h": 141.8
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#0C4706
secondary
#7D2386
accent
#2DFBE8
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4706

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

Preview Lab → · Contrast checker → · Palette generator →

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