#0C3F04#0C3F04

#0C3F04 is a dark, moderate green. Relative luminance 0.036; OKLCH L 32.2% C 0.101 H 141.1°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#0C3F04
RGBrgb(12, 63, 4)
HSLhsl(112, 88%, 13%)
HSVhsv(112, 94%, 25%)
CMYKcmyk(81%, 0%, 93.7%, 75.3%)
CIE-LABlab(22.45, -28.83, 28.48)
CIE-LCHlch(22.45, 40.53, 135.35°)
OKLaboklab(32.2% -0.0788 0.0635)
OKLCHoklch(32.2% 0.101 141.1)
XYZxyz(1.9509, 3.6417, 0.7149)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F04 #37043F
analogous
#293F04 #0C3F04 #043F19
triadic
#0C3F04 #040C3F #3F040C
tetradic
#0C3F04 #04293F #37043F #3F1904
square
#0C3F04 #04293F #37043F #3F1904
split-complementary
#0C3F04 #19043F #3F0429
monochromatic
#051D02 #051D02 #0C3F04 #177908 #22B20B

Accessibility & contrast

On white

12.15
#0C3F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0C3F04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F04
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F04#FFFFFF#000000##FFFFFF
##0C3F041.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#023D34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3f04;
/* rgb */ color: rgb(12, 63, 4);
/* oklch */ color: oklch(32.2% 0.101 141.1);
Tailwind
colors: {
  custom: {
    50: '#55754a',
    500: '#0c3f04',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f04;
$custom-light: #55754a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f04",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 111.864,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.10117,
    "h": 141.1
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#0C3F04
secondary
#731E80
accent
#2AFEE1
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3F04

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

Preview Lab → · Contrast checker → · Palette generator →

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