#0C460E#0C460E

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

Color values

HEX#0C460E
RGBrgb(12, 70, 14)
HSLhsl(122, 71%, 16%)
HSVhsv(122, 83%, 27%)
CMYKcmyk(82.9%, 0%, 80%, 72.5%)
CIE-LABlab(25.23, -30.60, 27.15)
CIE-LCHlch(25.23, 40.91, 138.42°)
OKLaboklab(34.54% -0.0829 0.0618)
OKLCHoklch(34.54% 0.103 143.3)
XYZxyz(2.4209, 4.4899, 1.1544)
Luminance0.0449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C460E #460C44
analogous
#27460C #0C460E #0C462B
triadic
#0C460E #0E0C46 #460E0C
tetradic
#0C460E #0C2746 #460C44 #462B0C
square
#0C460E #0C2746 #460C44 #462B0C
split-complementary
#0C460E #2B0C46 #460C27
monochromatic
#041A05 #041A05 #0C460E #157A18 #1EAE23

Accessibility & contrast

On white

11.06
#0C460E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C460E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C460E#FFFFFF#000000##FFFFFF
##0C460E1.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c460e;
/* rgb */ color: rgb(12, 70, 14);
/* oklch */ color: oklch(34.5% 0.103 143.3);
Tailwind
colors: {
  custom: {
    50: '#567a50',
    500: '#0c460e',
    950: '#000000',
  },
}
SCSS
$custom: #0c460e;
$custom-light: #567a50;
$custom-dark: #000000;
JSON
{
  "hex": "#0c460e",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 122.069,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34537,
    "c": 0.10343,
    "h": 143.3
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#0C460E
secondary
#822C7F
accent
#3AE7ED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0C460E

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

Preview Lab → · Contrast checker → · Palette generator →

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