#0C4606#0C4606

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

Color values

HEX#0C4606
RGBrgb(12, 70, 6)
HSLhsl(114, 84%, 15%)
HSVhsv(114, 91%, 27%)
CMYKcmyk(82.9%, 0%, 91.4%, 72.5%)
CIE-LABlab(25.17, -31.30, 30.38)
CIE-LCHlch(25.17, 43.62, 135.85°)
OKLaboklab(34.47% -0.0853 0.0672)
OKLCHoklch(34.47% 0.109 141.8)
XYZxyz(2.3745, 4.4714, 0.9102)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4606 #400646
analogous
#2C4606 #0C4606 #064620
triadic
#0C4606 #060C46 #46060C
tetradic
#0C4606 #062C46 #400646 #462006
square
#0C4606 #062C46 #400646 #462006
split-complementary
#0C4606 #200646 #46062C
monochromatic
#051C02 #051C02 #0C4606 #167E0B #1FB710

Accessibility & contrast

On white

11.09
#0C4606 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4606
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4606#FFFFFF#000000##FFFFFF
##0C46061.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4606;
/* rgb */ color: rgb(12, 70, 6);
/* oklch */ color: oklch(34.5% 0.109 141.8);
Tailwind
colors: {
  custom: {
    50: '#577a4c',
    500: '#0c4606',
    950: '#000000',
  },
}
SCSS
$custom: #0c4606;
$custom-light: #577a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4606",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 6
  },
  "hsl": {
    "h": 114.375,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34471,
    "c": 0.1086,
    "h": 141.8
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#0C4606
secondary
#7C2285
accent
#2DFAE7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4606

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

Preview Lab → · Contrast checker → · Palette generator →

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