#0C4604#0C4604

#0C4604 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.5% C 0.110 H 141.4°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#0C4604
RGBrgb(12, 70, 4)
HSLhsl(113, 89%, 15%)
HSVhsv(113, 94%, 27%)
CMYKcmyk(82.9%, 0%, 94.3%, 72.5%)
CIE-LABlab(25.16, -31.47, 31.18)
CIE-LCHlch(25.16, 44.30, 135.26°)
OKLaboklab(34.46% -0.0859 0.0685)
OKLCHoklch(34.46% 0.11 141.4)
XYZxyz(2.3636, 4.4670, 0.8525)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4604 #3E0446
analogous
#2D4604 #0C4604 #04461D
triadic
#0C4604 #040C46 #46040C
tetradic
#0C4604 #042D46 #3E0446 #461D04
square
#0C4604 #042D46 #3E0446 #461D04
split-complementary
#0C4604 #1D0446 #46042D
monochromatic
#051D02 #051D02 #0C4604 #168007 #20BA0B

Accessibility & contrast

On white

11.09
#0C4604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0C4604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4604
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4604#FFFFFF#000000##FFFFFF
##0C46041.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E00
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#00433A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4604;
/* rgb */ color: rgb(12, 70, 4);
/* oklch */ color: oklch(34.5% 0.110 141.4);
Tailwind
colors: {
  custom: {
    50: '#577a4b',
    500: '#0c4604',
    950: '#000000',
  },
}
SCSS
$custom: #0c4604;
$custom-light: #577a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4604",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 4
  },
  "hsl": {
    "h": 112.727,
    "s": 89.189,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34456,
    "c": 0.10989,
    "h": 141.4
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

primary
#0C4604
secondary
#7A1F87
accent
#29FFE5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040901
muted
#797B77

Preview Lab

Preview with #0C4604

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

Preview Lab → · Contrast checker → · Palette generator →

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