#0C4013#0C4013

#0C4013 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.091 H 145.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#0C4013
RGBrgb(12, 64, 19)
HSLhsl(128, 68%, 15%)
HSVhsv(128, 81%, 25%)
CMYKcmyk(81.2%, 0%, 70.3%, 74.9%)
CIE-LABlab(22.97, -27.62, 22.23)
CIE-LCHlch(22.97, 35.46, 141.17°)
OKLaboklab(32.68% -0.0746 0.0521)
OKLCHoklch(32.68% 0.091 145.1)
XYZxyz(2.1024, 3.7917, 1.2370)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4013 #400C39
analogous
#1F400C #0C4013 #0C402D
triadic
#0C4013 #130C40 #40130C
tetradic
#0C4013 #0C1F40 #400C39 #402D0C
square
#0C4013 #0C1F40 #400C39 #402D0C
split-complementary
#0C4013 #2D0C40 #400C1F
monochromatic
#051A08 #051A08 #0C4013 #167422 #1FA732

Accessibility & contrast

On white

11.94
#0C4013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4013
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4013#FFFFFF#000000##FFFFFF
##0C40131.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4013;
/* rgb */ color: rgb(12, 64, 19);
/* oklch */ color: oklch(32.7% 0.091 145.1);
Tailwind
colors: {
  custom: {
    50: '#547552',
    500: '#0c4013',
    950: '#000000',
  },
}
SCSS
$custom: #0c4013;
$custom-light: #547552;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4013",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 19
  },
  "hsl": {
    "h": 128.077,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32679,
    "c": 0.09098,
    "h": 145.1
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#0C4013
secondary
#7C2C71
accent
#3DD4EB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0C4013

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

Preview Lab → · Contrast checker → · Palette generator →

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