#0C3A06#0C3A06

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

Color values

HEX#0C3A06
RGBrgb(12, 58, 6)
HSLhsl(113, 81%, 13%)
HSVhsv(113, 90%, 23%)
CMYKcmyk(79.3%, 0%, 89.7%, 77.3%)
CIE-LABlab(20.51, -26.66, 25.57)
CIE-LCHlch(20.51, 36.94, 136.20°)
OKLaboklab(30.6% -0.0728 0.0581)
OKLCHoklch(30.6% 0.093 141.4)
XYZxyz(1.6975, 3.1172, 0.6845)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A06 #34063A
analogous
#263A06 #0C3A06 #063A1A
triadic
#0C3A06 #060C3A #3A060C
tetradic
#0C3A06 #06263A #34063A #3A1A06
square
#0C3A06 #06263A #34063A #3A1A06
split-complementary
#0C3A06 #1A063A #3A0626
monochromatic
#061C03 #061C03 #0C3A06 #17710C #23A911

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C3A06#FFFFFF#000000##FFFFFF
##0C3A061.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)
#36300C
Tritanopia (blue-blind)
#033830
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3a06;
/* rgb */ color: rgb(12, 58, 6);
/* oklch */ color: oklch(30.6% 0.093 141.4);
Tailwind
colors: {
  custom: {
    50: '#53714a',
    500: '#0c3a06',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a06;
$custom-light: #53714a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a06",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 113.077,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30597,
    "c": 0.09313,
    "h": 141.4
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#0C3A06
secondary
#70227A
accent
#30F8E1
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C3A06

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

Preview Lab → · Contrast checker → · Palette generator →

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