#0C4010#0C4010

#0C4010 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.094 H 144.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#0C4010
RGBrgb(12, 64, 16)
HSLhsl(125, 68%, 15%)
HSVhsv(125, 81%, 25%)
CMYKcmyk(81.2%, 0%, 75%, 74.9%)
CIE-LABlab(22.94, -28.02, 23.76)
CIE-LCHlch(22.94, 36.73, 139.70°)
OKLaboklab(32.64% -0.0758 0.055)
OKLCHoklch(32.64% 0.094 144.1)
XYZxyz(2.0784, 3.7821, 1.1106)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4010 #400C3C
analogous
#22400C #0C4010 #0C402A
triadic
#0C4010 #100C40 #40100C
tetradic
#0C4010 #0C2240 #400C3C #402A0C
square
#0C4010 #0C2240 #400C3C #402A0C
split-complementary
#0C4010 #2A0C40 #400C22
monochromatic
#051A06 #051A06 #0C4010 #16741D #1FA72A

Accessibility & contrast

On white

11.96
#0C4010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0C4010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4010
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4010#FFFFFF#000000##FFFFFF
##0C40101.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390A
Deuteranopia (green-blind)
#3B3514
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c4010;
/* rgb */ color: rgb(12, 64, 16);
/* oklch */ color: oklch(32.6% 0.094 144.1);
Tailwind
colors: {
  custom: {
    50: '#557551',
    500: '#0c4010',
    950: '#000000',
  },
}
SCSS
$custom: #0c4010;
$custom-light: #557551;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4010",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 124.615,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32641,
    "c": 0.09365,
    "h": 144.1
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#0C4010
secondary
#7C2C76
accent
#3DDEEB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0C4010

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

Preview Lab → · Contrast checker → · Palette generator →

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