#0C3F05#0C3F05

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

Color values

HEX#0C3F05
RGBrgb(12, 63, 5)
HSLhsl(113, 85%, 13%)
HSVhsv(113, 92%, 25%)
CMYKcmyk(81%, 0%, 92.1%, 75.3%)
CIE-LABlab(22.46, -28.74, 28.08)
CIE-LCHlch(22.46, 40.18, 135.66°)
OKLaboklab(32.21% -0.0785 0.0627)
OKLCHoklch(32.21% 0.1 141.4)
XYZxyz(1.9564, 3.6439, 0.7438)
Luminance0.0364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F05 #38053F
analogous
#293F05 #0C3F05 #053F1B
triadic
#0C3F05 #050C3F #3F050C
tetradic
#0C3F05 #05293F #38053F #3F1B05
square
#0C3F05 #05293F #38053F #3F1B05
split-complementary
#0C3F05 #1B053F #3F0529
monochromatic
#051C02 #051C02 #0C3F05 #177809 #22B00E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C3F05#FFFFFF#000000##FFFFFF
##0C3F051.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)
#3B340C
Tritanopia (blue-blind)
#023D34
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3f05;
/* rgb */ color: rgb(12, 63, 5);
/* oklch */ color: oklch(32.2% 0.100 141.4);
Tailwind
colors: {
  custom: {
    50: '#55754b',
    500: '#0c3f05',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f05;
$custom-light: #55754b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f05",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 5
  },
  "hsl": {
    "h": 112.759,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32213,
    "c": 0.10044,
    "h": 141.4
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#0C3F05
secondary
#742080
accent
#2CFCE3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3F05

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

Preview Lab → · Contrast checker → · Palette generator →

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