#0C4A09#0C4A09

#0C4A09 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.112 H 142.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#0C4A09
RGBrgb(12, 74, 9)
HSLhsl(117, 78%, 16%)
HSVhsv(117, 88%, 29%)
CMYKcmyk(83.8%, 0%, 87.8%, 71%)
CIE-LABlab(26.72, -32.54, 30.65)
CIE-LCHlch(26.72, 44.70, 136.71°)
OKLaboklab(35.77% -0.0885 0.0683)
OKLCHoklch(35.77% 0.112 142.3)
XYZxyz(2.6495, 4.9951, 1.0829)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A09 #47094A
analogous
#2D4A09 #0C4A09 #094A27
triadic
#0C4A09 #090C4A #4A090C
tetradic
#0C4A09 #092D4A #47094A #4A2709
square
#0C4A09 #092D4A #47094A #4A2709
split-complementary
#0C4A09 #27094A #4A092D
monochromatic
#041B03 #041B03 #0C4A09 #158110 #1EB716

Accessibility & contrast

On white

10.51
#0C4A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0C4A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A09
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A09#FFFFFF#000000##FFFFFF
##0C4A091.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#453D11
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4a09;
/* rgb */ color: rgb(12, 74, 9);
/* oklch */ color: oklch(35.8% 0.112 142.3);
Tailwind
colors: {
  custom: {
    50: '#587d4e',
    500: '#0c4a09',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a09;
$custom-light: #587d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a09",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 117.231,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35765,
    "c": 0.11177,
    "h": 142.3
  },
  "luminance": 0.04995
}

Semantic roles & 50–950 ramp

primary
#0C4A09
secondary
#832787
accent
#33F5EC
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4A09

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

Preview Lab → · Contrast checker → · Palette generator →

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