#0C3A09#0C3A09

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

Color values

HEX#0C3A09
RGBrgb(12, 58, 9)
HSLhsl(116, 73%, 13%)
HSVhsv(116, 84%, 23%)
CMYKcmyk(79.3%, 0%, 84.5%, 77.3%)
CIE-LABlab(20.53, -26.36, 24.37)
CIE-LCHlch(20.53, 35.90, 137.24°)
OKLaboklab(30.63% -0.0717 0.0557)
OKLCHoklch(30.63% 0.091 142.2)
XYZxyz(1.7139, 3.1238, 0.7710)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A09 #37093A
analogous
#243A09 #0C3A09 #093A1E
triadic
#0C3A09 #090C3A #3A090C
tetradic
#0C3A09 #09243A #37093A #3A1E09
square
#0C3A09 #09243A #37093A #3A1E09
split-complementary
#0C3A09 #1E093A #3A0924
monochromatic
#051A04 #051A04 #0C3A09 #176F11 #22A419

Accessibility & contrast

On white

12.92
#0C3A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3A09
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A09#FFFFFF#000000##FFFFFF
##0C3A091.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3403
Deuteranopia (green-blind)
#36300E
Tritanopia (blue-blind)
#033830
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c3a09;
/* rgb */ color: rgb(12, 58, 9);
/* oklch */ color: oklch(30.6% 0.091 142.2);
Tailwind
colors: {
  custom: {
    50: '#53714c',
    500: '#0c3a09',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a09;
$custom-light: #53714c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a09",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 9
  },
  "hsl": {
    "h": 116.327,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30627,
    "c": 0.09079,
    "h": 142.2
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#0C3A09
secondary
#732778
accent
#38F0E5
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C3A09

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

Preview Lab → · Contrast checker → · Palette generator →

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