#0C4318#0C4318

#0C4318 is a dark, moderate green. Relative luminance 0.042; OKLCH L 33.7% C 0.091 H 146.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#0C4318
RGBrgb(12, 67, 24)
HSLhsl(133, 70%, 15%)
HSVhsv(133, 82%, 26%)
CMYKcmyk(82.1%, 0%, 64.2%, 73.7%)
CIE-LABlab(24.19, -28.11, 20.88)
CIE-LCHlch(24.19, 35.02, 143.40°)
OKLaboklab(33.71% -0.0757 0.0496)
OKLCHoklch(33.71% 0.091 146.8)
XYZxyz(2.3235, 4.1582, 1.5441)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4318 #430C37
analogous
#1B430C #0C4318 #0C4333
triadic
#0C4318 #180C43 #43180C
tetradic
#0C4318 #0C1B43 #430C37 #43330C
square
#0C4318 #0C1B43 #430C37 #43330C
split-complementary
#0C4318 #330C43 #430C1B
monochromatic
#051A09 #051A09 #0C4318 #15772B #1FAB3D

Accessibility & contrast

On white

11.47
#0C4318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4318
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4318#FFFFFF#000000##FFFFFF
##0C43181.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4318;
/* rgb */ color: rgb(12, 67, 24);
/* oklch */ color: oklch(33.7% 0.091 146.8);
Tailwind
colors: {
  custom: {
    50: '#557856',
    500: '#0c4318',
    950: '#000000',
  },
}
SCSS
$custom: #0c4318;
$custom-light: #557856;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4318",
  "rgb": {
    "r": 12,
    "g": 67,
    "b": 24
  },
  "hsl": {
    "h": 133.091,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33708,
    "c": 0.09055,
    "h": 146.8
  },
  "luminance": 0.04158
}

Semantic roles & 50–950 ramp

primary
#0C4318
secondary
#7F2C6D
accent
#3BC6EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4318

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

Preview Lab → · Contrast checker → · Palette generator →

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