#0C4417#0C4417

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

Color values

HEX#0C4417
RGBrgb(12, 68, 23)
HSLhsl(132, 70%, 16%)
HSVhsv(132, 82%, 27%)
CMYKcmyk(82.4%, 0%, 66.2%, 73.3%)
CIE-LABlab(24.56, -28.68, 21.87)
CIE-LCHlch(24.56, 36.07, 142.67°)
OKLaboklab(34.01% -0.0773 0.0517)
OKLCHoklch(34.01% 0.093 146.2)
XYZxyz(2.3732, 4.2740, 1.5103)
Luminance0.0427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4417 #440C39
analogous
#1D440C #0C4417 #0C4433
triadic
#0C4417 #170C44 #44170C
tetradic
#0C4417 #0C1D44 #440C39 #44330C
square
#0C4417 #0C1D44 #440C39 #44330C
split-complementary
#0C4417 #330C44 #440C1D
monochromatic
#051A09 #051A09 #0C4417 #157829 #1EAC3A

Accessibility & contrast

On white

11.32
#0C4417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4417
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4417#FFFFFF#000000##FFFFFF
##0C44171.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4417;
/* rgb */ color: rgb(12, 68, 23);
/* oklch */ color: oklch(34.0% 0.093 146.2);
Tailwind
colors: {
  custom: {
    50: '#557956',
    500: '#0c4417',
    950: '#000000',
  },
}
SCSS
$custom: #0c4417;
$custom-light: #557956;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4417",
  "rgb": {
    "r": 12,
    "g": 68,
    "b": 23
  },
  "hsl": {
    "h": 131.786,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.3401,
    "c": 0.09299,
    "h": 146.2
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#0C4417
secondary
#802C6F
accent
#3BCAED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4417

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

Preview Lab → · Contrast checker → · Palette generator →

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