#0C4418#0C4418

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

Color values

HEX#0C4418
RGBrgb(12, 68, 24)
HSLhsl(133, 70%, 16%)
HSVhsv(133, 82%, 27%)
CMYKcmyk(82.4%, 0%, 64.7%, 73.3%)
CIE-LABlab(24.57, -28.52, 21.33)
CIE-LCHlch(24.57, 35.62, 143.21°)
OKLaboklab(34.03% -0.0768 0.0506)
OKLCHoklch(34.03% 0.092 146.6)
XYZxyz(2.3834, 4.2781, 1.5641)
Luminance0.0428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4418 #440C38
analogous
#1C440C #0C4418 #0C4434
triadic
#0C4418 #180C44 #44180C
tetradic
#0C4418 #0C1C44 #440C38 #44340C
square
#0C4418 #0C1C44 #440C38 #44340C
split-complementary
#0C4418 #340C44 #440C1C
monochromatic
#051A09 #051A09 #0C4418 #15782A #1EAC3D

Accessibility & contrast

On white

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

On black

1.86
#0C4418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0C4418#FFFFFF#000000##FFFFFF
##0C44181.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4418;
/* rgb */ color: rgb(12, 68, 24);
/* oklch */ color: oklch(34.0% 0.092 146.6);
Tailwind
colors: {
  custom: {
    50: '#557956',
    500: '#0c4418',
    950: '#000000',
  },
}
SCSS
$custom: #0c4418;
$custom-light: #557956;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4418",
  "rgb": {
    "r": 12,
    "g": 68,
    "b": 24
  },
  "hsl": {
    "h": 132.857,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34025,
    "c": 0.09202,
    "h": 146.6
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#0C4418
secondary
#802C6E
accent
#3BC7ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4418

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

Preview Lab → · Contrast checker → · Palette generator →

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