#0C3F07#0C3F07

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

Color values

HEX#0C3F07
RGBrgb(12, 63, 7)
HSLhsl(115, 80%, 14%)
HSVhsv(115, 89%, 25%)
CMYKcmyk(81%, 0%, 88.9%, 75.3%)
CIE-LABlab(22.47, -28.55, 27.28)
CIE-LCHlch(22.47, 39.49, 136.30°)
OKLaboklab(32.23% -0.0778 0.0612)
OKLCHoklch(32.23% 0.099 141.8)
XYZxyz(1.9674, 3.6483, 0.8015)
Luminance0.0365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F07 #3A073F
analogous
#283F07 #0C3F07 #073F1E
triadic
#0C3F07 #070C3F #3F070C
tetradic
#0C3F07 #07283F #3A073F #3F1E07
square
#0C3F07 #07283F #3A073F #3F1E07
split-complementary
#0C3F07 #1E073F #3F0728
monochromatic
#051C03 #051C03 #0C3F07 #16760D #21AD13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C3F07#FFFFFF#000000##FFFFFF
##0C3F071.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)
#3B340D
Tritanopia (blue-blind)
#013D35
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3f07;
/* rgb */ color: rgb(12, 63, 7);
/* oklch */ color: oklch(32.2% 0.099 141.8);
Tailwind
colors: {
  custom: {
    50: '#55754c',
    500: '#0c3f07',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f07;
$custom-light: #55754c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f07",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 114.643,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32231,
    "c": 0.099,
    "h": 141.8
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#0C3F07
secondary
#76247E
accent
#31F6E5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3F07

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

Preview Lab → · Contrast checker → · Palette generator →

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