#0C4607#0C4607

#0C4607 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.5% C 0.108 H 141.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#0C4607
RGBrgb(12, 70, 7)
HSLhsl(115, 82%, 15%)
HSVhsv(115, 90%, 27%)
CMYKcmyk(82.9%, 0%, 90%, 72.5%)
CIE-LABlab(25.18, -31.22, 29.98)
CIE-LCHlch(25.18, 43.28, 136.16°)
OKLaboklab(34.48% -0.085 0.0666)
OKLCHoklch(34.48% 0.108 141.9)
XYZxyz(2.3800, 4.4735, 0.9390)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4607 #410746
analogous
#2B4607 #0C4607 #074621
triadic
#0C4607 #070C46 #46070C
tetradic
#0C4607 #072B46 #410746 #462107
square
#0C4607 #072B46 #410746 #462107
split-complementary
#0C4607 #210746 #46072B
monochromatic
#051C03 #051C03 #0C4607 #167E0D #1FB512

Accessibility & contrast

On white

11.08
#0C4607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0C4607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4607
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4607#FFFFFF#000000##FFFFFF
##0C46071.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E00
Deuteranopia (green-blind)
#413A0F
Tritanopia (blue-blind)
#00443A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4607;
/* rgb */ color: rgb(12, 70, 7);
/* oklch */ color: oklch(34.5% 0.108 141.9);
Tailwind
colors: {
  custom: {
    50: '#577a4d',
    500: '#0c4607',
    950: '#000000',
  },
}
SCSS
$custom: #0c4607;
$custom-light: #577a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4607",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 7
  },
  "hsl": {
    "h": 115.238,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34479,
    "c": 0.10797,
    "h": 141.9
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#0C4607
secondary
#7D2485
accent
#30F8E8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4607

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

Preview Lab → · Contrast checker → · Palette generator →

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