#0C460A#0C460A

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

Color values

HEX#0C460A
RGBrgb(12, 70, 10)
HSLhsl(118, 75%, 16%)
HSVhsv(118, 86%, 27%)
CMYKcmyk(82.9%, 0%, 85.7%, 72.5%)
CIE-LABlab(25.20, -30.97, 28.79)
CIE-LCHlch(25.20, 42.29, 137.08°)
OKLaboklab(34.5% -0.0842 0.0646)
OKLCHoklch(34.5% 0.106 142.5)
XYZxyz(2.3964, 4.4801, 1.0256)
Luminance0.0448 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C460A #440A46
analogous
#2A460A #0C460A #0A4626
triadic
#0C460A #0A0C46 #460A0C
tetradic
#0C460A #0A2A46 #440A46 #46260A
square
#0C460A #0A2A46 #440A46 #46260A
split-complementary
#0C460A #260A46 #460A2A
monochromatic
#051B04 #051B04 #0C460A #157C12 #1EB119

Accessibility & contrast

On white

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

On black

1.90
#0C460A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0C460A#FFFFFF#000000##FFFFFF
##0C460A1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E01
Deuteranopia (green-blind)
#413A11
Tritanopia (blue-blind)
#00443B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c460a;
/* rgb */ color: rgb(12, 70, 10);
/* oklch */ color: oklch(34.5% 0.106 142.5);
Tailwind
colors: {
  custom: {
    50: '#577a4e',
    500: '#0c460a',
    950: '#000000',
  },
}
SCSS
$custom: #0c460a;
$custom-light: #577a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c460a",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 10
  },
  "hsl": {
    "h": 118,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34502,
    "c": 0.1061,
    "h": 142.5
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#0C460A
secondary
#802983
accent
#36F2EB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C460A

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

Preview Lab → · Contrast checker → · Palette generator →

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