#0C4415#0C4415

#0C4415 is a dark, moderate green. Relative luminance 0.043; OKLCH L 34.0% C 0.095 H 145.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#0C4415
RGBrgb(12, 68, 21)
HSLhsl(130, 70%, 16%)
HSVhsv(130, 82%, 27%)
CMYKcmyk(82.4%, 0%, 69.1%, 73.3%)
CIE-LABlab(24.53, -28.97, 22.93)
CIE-LCHlch(24.53, 36.95, 141.63°)
OKLaboklab(33.98% -0.0782 0.0538)
OKLCHoklch(33.98% 0.095 145.5)
XYZxyz(2.3539, 4.2663, 1.4087)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4415 #440C3B
analogous
#1F440C #0C4415 #0C4431
triadic
#0C4415 #150C44 #44150C
tetradic
#0C4415 #0C1F44 #440C3B #44310C
square
#0C4415 #0C1F44 #440C3B #44310C
split-complementary
#0C4415 #310C44 #440C1F
monochromatic
#051A08 #051A08 #0C4415 #157825 #1EAC35

Accessibility & contrast

On white

11.33
#0C4415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#0C4415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4415
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4415#FFFFFF#000000##FFFFFF
##0C44151.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D10
Deuteranopia (green-blind)
#3F3919
Tritanopia (blue-blind)
#00423A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4415;
/* rgb */ color: rgb(12, 68, 21);
/* oklch */ color: oklch(34.0% 0.095 145.5);
Tailwind
colors: {
  custom: {
    50: '#557954',
    500: '#0c4415',
    950: '#000000',
  },
}
SCSS
$custom: #0c4415;
$custom-light: #557954;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4415",
  "rgb": {
    "r": 12,
    "g": 68,
    "b": 21
  },
  "hsl": {
    "h": 129.643,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33982,
    "c": 0.09489,
    "h": 145.5
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#0C4415
secondary
#802C72
accent
#3BD0ED
background
#F5F7F4
surface
#E9EDE8
border
#C5C8C4
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4415

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

Preview Lab → · Contrast checker → · Palette generator →

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