#0C3A04#0C3A04

#0C3A04 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.6% C 0.095 H 140.9°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#0C3A04
RGBrgb(12, 58, 4)
HSLhsl(111, 87%, 12%)
HSVhsv(111, 93%, 23%)
CMYKcmyk(79.3%, 0%, 93.1%, 77.3%)
CIE-LABlab(20.49, -26.87, 26.36)
CIE-LCHlch(20.49, 37.65, 135.55°)
OKLaboklab(30.58% -0.0735 0.0598)
OKLCHoklch(30.58% 0.095 140.9)
XYZxyz(1.6865, 3.1129, 0.6268)
Luminance0.0311 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A04 #32043A
analogous
#273A04 #0C3A04 #043A17
triadic
#0C3A04 #040C3A #3A040C
tetradic
#0C3A04 #04273A #32043A #3A1704
square
#0C3A04 #04273A #32043A #3A1704
split-complementary
#0C3A04 #17043A #3A0427
monochromatic
#061D02 #061D02 #0C3A04 #187308 #24AD0C

Accessibility & contrast

On white

12.94
#0C3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0C3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3A04
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A04#FFFFFF#000000##FFFFFF
##0C3A041.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#36300A
Tritanopia (blue-blind)
#043830
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3a04;
/* rgb */ color: rgb(12, 58, 4);
/* oklch */ color: oklch(30.6% 0.095 140.9);
Tailwind
colors: {
  custom: {
    50: '#537149',
    500: '#0c3a04',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a04;
$custom-light: #537149;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a04",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 111.111,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.30578,
    "c": 0.09474,
    "h": 140.9
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#0C3A04
secondary
#6E1E7C
accent
#2BFDDE
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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