#0C4313#0C4313

#0C4313 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.6% C 0.095 H 144.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#0C4313
RGBrgb(12, 67, 19)
HSLhsl(128, 70%, 15%)
HSVhsv(128, 82%, 26%)
CMYKcmyk(82.1%, 0%, 71.6%, 73.7%)
CIE-LABlab(24.13, -28.84, 23.53)
CIE-LCHlch(24.13, 37.22, 140.79°)
OKLaboklab(33.64% -0.0779 0.0548)
OKLCHoklch(33.64% 0.095 144.9)
XYZxyz(2.2762, 4.1392, 1.2950)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4313 #430C3C
analogous
#20430C #0C4313 #0C432E
triadic
#0C4313 #130C43 #43130C
tetradic
#0C4313 #0C2043 #430C3C #432E0C
square
#0C4313 #0C2043 #430C3C #432E0C
split-complementary
#0C4313 #2E0C43 #430C20
monochromatic
#051A07 #051A07 #0C4313 #157722 #1FAB30

Accessibility & contrast

On white

11.49
#0C4313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0C4313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4313
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4313#FFFFFF#000000##FFFFFF
##0C43131.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0D
Deuteranopia (green-blind)
#3E3817
Tritanopia (blue-blind)
#004139
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4313;
/* rgb */ color: rgb(12, 67, 19);
/* oklch */ color: oklch(33.6% 0.095 144.9);
Tailwind
colors: {
  custom: {
    50: '#557853',
    500: '#0c4313',
    950: '#000000',
  },
}
SCSS
$custom: #0c4313;
$custom-light: #557853;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4313",
  "rgb": {
    "r": 12,
    "g": 67,
    "b": 19
  },
  "hsl": {
    "h": 127.636,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33637,
    "c": 0.09528,
    "h": 144.9
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#0C4313
secondary
#7F2C74
accent
#3BD6EC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0C4313

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

Preview Lab → · Contrast checker → · Palette generator →

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