#0C3C05#0C3C05

#0C3C05 is a dark, moderate green. Relative luminance 0.033; OKLCH L 31.2% C 0.097 H 141.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#0C3C05
RGBrgb(12, 60, 5)
HSLhsl(112, 85%, 13%)
HSVhsv(112, 92%, 24%)
CMYKcmyk(80%, 0%, 91.7%, 76.5%)
CIE-LABlab(21.28, -27.56, 26.83)
CIE-LCHlch(21.28, 38.47, 135.77°)
OKLaboklab(31.24% -0.0753 0.0604)
OKLCHoklch(31.24% 0.097 141.2)
XYZxyz(1.7948, 3.3206, 0.6899)
Luminance0.0332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3C05 #35053C
analogous
#273C05 #0C3C05 #053C1A
triadic
#0C3C05 #050C3C #3C050C
tetradic
#0C3C05 #05273C #35053C #3C1A05
square
#0C3C05 #05273C #35053C #3C1A05
split-complementary
#0C3C05 #1A053C #3C0527
monochromatic
#061C02 #061C02 #0C3C05 #17740A #23AD0E

Accessibility & contrast

On white

12.62
#0C3C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#0C3C05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3C05
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3C05#FFFFFF#000000##FFFFFF
##0C3C051.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3500
Deuteranopia (green-blind)
#38320B
Tritanopia (blue-blind)
#033A32
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0c3c05;
/* rgb */ color: rgb(12, 60, 5);
/* oklch */ color: oklch(31.2% 0.097 141.2);
Tailwind
colors: {
  custom: {
    50: '#54724a',
    500: '#0c3c05',
    950: '#000000',
  },
}
SCSS
$custom: #0c3c05;
$custom-light: #54724a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3c05",
  "rgb": {
    "r": 12,
    "g": 60,
    "b": 5
  },
  "hsl": {
    "h": 112.364,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.3124,
    "c": 0.09656,
    "h": 141.2
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#0C3C05
secondary
#71207D
accent
#2DFBE1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C3C05

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

Preview Lab → · Contrast checker → · Palette generator →

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