#0C3F08#0C3F08

#0C3F08 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.2% C 0.098 H 142.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#0C3F08
RGBrgb(12, 63, 8)
HSLhsl(116, 77%, 14%)
HSVhsv(116, 87%, 25%)
CMYKcmyk(81%, 0%, 87.3%, 75.3%)
CIE-LABlab(22.48, -28.45, 26.88)
CIE-LCHlch(22.48, 39.15, 136.63°)
OKLaboklab(32.24% -0.0775 0.0605)
OKLCHoklch(32.24% 0.098 142)
XYZxyz(1.9728, 3.6505, 0.8303)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F08 #3B083F
analogous
#283F08 #0C3F08 #083F20
triadic
#0C3F08 #080C3F #3F080C
tetradic
#0C3F08 #08283F #3B083F #3F2008
square
#0C3F08 #08283F #3B083F #3F2008
split-complementary
#0C3F08 #20083F #3F0828
monochromatic
#051B03 #051B03 #0C3F08 #16750F #21AC16

Accessibility & contrast

On white

12.14
#0C3F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3F08
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F08#FFFFFF#000000##FFFFFF
##0C3F081.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3B340E
Tritanopia (blue-blind)
#013D35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3f08;
/* rgb */ color: rgb(12, 63, 8);
/* oklch */ color: oklch(32.2% 0.098 142.0);
Tailwind
colors: {
  custom: {
    50: '#55754c',
    500: '#0c3f08',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f08;
$custom-light: #55754c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f08",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 115.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3224,
    "c": 0.09829,
    "h": 142
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#0C3F08
secondary
#77257E
accent
#34F4E6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3F08

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

Preview Lab → · Contrast checker → · Palette generator →

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