#0C4906#0C4906

#0C4906 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.4% C 0.112 H 141.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#0C4906
RGBrgb(12, 73, 6)
HSLhsl(115, 85%, 15%)
HSVhsv(115, 92%, 29%)
CMYKcmyk(83.6%, 0%, 91.8%, 71.4%)
CIE-LABlab(26.32, -32.40, 31.45)
CIE-LCHlch(26.32, 45.15, 135.86°)
OKLaboklab(35.43% -0.0883 0.0694)
OKLCHoklch(35.43% 0.112 141.8)
XYZxyz(2.5669, 4.8561, 0.9743)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4906 #430649
analogous
#2D4906 #0C4906 #064921
triadic
#0C4906 #060C49 #49060C
tetradic
#0C4906 #062D49 #430649 #492106
square
#0C4906 #062D49 #430649 #492106
split-complementary
#0C4906 #210649 #49062D
monochromatic
#051C02 #051C02 #0C4906 #15820B #1FBA0F

Accessibility & contrast

On white

10.65
#0C4906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0C4906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4906
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4906#FFFFFF#000000##FFFFFF
##0C49061.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#443C0F
Tritanopia (blue-blind)
#00463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4906;
/* rgb */ color: rgb(12, 73, 6);
/* oklch */ color: oklch(35.4% 0.112 141.8);
Tailwind
colors: {
  custom: {
    50: '#587c4d',
    500: '#0c4906',
    950: '#000000',
  },
}
SCSS
$custom: #0c4906;
$custom-light: #587c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4906",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 6
  },
  "hsl": {
    "h": 114.627,
    "s": 84.81,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35426,
    "c": 0.1123,
    "h": 141.8
  },
  "luminance": 0.04856
}

Semantic roles & 50–950 ramp

primary
#0C4906
secondary
#7F2388
accent
#2DFBE9
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4906

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

Preview Lab → · Contrast checker → · Palette generator →

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