#0C3A05#0C3A05

#0C3A05 is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.6% C 0.094 H 141.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#0C3A05
RGBrgb(12, 58, 5)
HSLhsl(112, 84%, 12%)
HSVhsv(112, 91%, 23%)
CMYKcmyk(79.3%, 0%, 91.4%, 77.3%)
CIE-LABlab(20.50, -26.77, 25.97)
CIE-LCHlch(20.50, 37.29, 135.87°)
OKLaboklab(30.59% -0.0732 0.0589)
OKLCHoklch(30.59% 0.094 141.2)
XYZxyz(1.6920, 3.1151, 0.6556)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A05 #33053A
analogous
#273A05 #0C3A05 #053A18
triadic
#0C3A05 #050C3A #3A050C
tetradic
#0C3A05 #05273A #33053A #3A1805
square
#0C3A05 #05273A #33053A #3A1805
split-complementary
#0C3A05 #18053A #3A0527
monochromatic
#061C02 #061C02 #0C3A05 #18720A #23AB0F

Accessibility & contrast

On white

12.94
#0C3A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0C3A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3A05
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A05#FFFFFF#000000##FFFFFF
##0C3A051.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#36300B
Tritanopia (blue-blind)
#043830
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3a05;
/* rgb */ color: rgb(12, 58, 5);
/* oklch */ color: oklch(30.6% 0.094 141.2);
Tailwind
colors: {
  custom: {
    50: '#53714a',
    500: '#0c3a05',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a05;
$custom-light: #53714a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a05",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 112.075,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30587,
    "c": 0.09392,
    "h": 141.2
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#0C3A05
secondary
#6F207B
accent
#2DFADF
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C3A05

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

Preview Lab → · Contrast checker → · Palette generator →

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