#0C4705#0C4705

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

Color values

HEX#0C4705
RGBrgb(12, 71, 5)
HSLhsl(114, 87%, 15%)
HSVhsv(114, 93%, 28%)
CMYKcmyk(83.1%, 0%, 93%, 72.2%)
CIE-LABlab(25.55, -31.75, 31.14)
CIE-LCHlch(25.55, 44.48, 135.56°)
OKLaboklab(34.78% -0.0866 0.0686)
OKLCHoklch(34.78% 0.11 141.6)
XYZxyz(2.4321, 4.5953, 0.9024)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4705 #400547
analogous
#2D4705 #0C4705 #05471F
triadic
#0C4705 #050C47 #47050C
tetradic
#0C4705 #052D47 #400547 #471F05
square
#0C4705 #052D47 #400547 #471F05
split-complementary
#0C4705 #1F0547 #47052D
monochromatic
#051D02 #051D02 #0C4705 #168009 #1FB90D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4705#FFFFFF#000000##FFFFFF
##0C47051.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)
#423B0D
Tritanopia (blue-blind)
#00443B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4705;
/* rgb */ color: rgb(12, 71, 5);
/* oklch */ color: oklch(34.8% 0.110 141.6);
Tailwind
colors: {
  custom: {
    50: '#577b4c',
    500: '#0c4705',
    950: '#000000',
  },
}
SCSS
$custom: #0c4705;
$custom-light: #577b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4705",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 113.636,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34783,
    "c": 0.11046,
    "h": 141.6
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#0C4705
secondary
#7C2187
accent
#2BFDE7
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4705

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

Preview Lab → · Contrast checker → · Palette generator →

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