#0C4309#0C4309

#0C4309 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.5% C 0.103 H 142.3°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#0C4309
RGBrgb(12, 67, 9)
HSLhsl(117, 76%, 15%)
HSVhsv(117, 87%, 26%)
CMYKcmyk(82.1%, 0%, 86.6%, 73.7%)
CIE-LABlab(24.04, -29.91, 28.06)
CIE-LCHlch(24.04, 41.01, 136.83°)
OKLaboklab(33.54% -0.0814 0.0629)
OKLCHoklch(33.54% 0.103 142.3)
XYZxyz(2.2080, 4.1119, 0.9357)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4309 #400943
analogous
#294309 #0C4309 #094323
triadic
#0C4309 #090C43 #43090C
tetradic
#0C4309 #092943 #400943 #432309
square
#0C4309 #092943 #400943 #432309
split-complementary
#0C4309 #230943 #430929
monochromatic
#051B04 #051B04 #0C4309 #167910 #1FAF17

Accessibility & contrast

On white

11.52
#0C4309 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#0C4309 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4309
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4309#FFFFFF#000000##FFFFFF
##0C43091.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C01
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#004138
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4309;
/* rgb */ color: rgb(12, 67, 9);
/* oklch */ color: oklch(33.5% 0.103 142.3);
Tailwind
colors: {
  custom: {
    50: '#56784d',
    500: '#0c4309',
    950: '#000000',
  },
}
SCSS
$custom: #0c4309;
$custom-light: #56784d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4309",
  "rgb": {
    "r": 12,
    "g": 67,
    "b": 9
  },
  "hsl": {
    "h": 116.897,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33536,
    "c": 0.10286,
    "h": 142.3
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#0C4309
secondary
#7C2781
accent
#35F3E9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030901
muted
#787B77

Preview Lab

Preview with #0C4309

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

Preview Lab → · Contrast checker → · Palette generator →

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