#0C3A07#0C3A07

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

Color values

HEX#0C3A07
RGBrgb(12, 58, 7)
HSLhsl(114, 78%, 13%)
HSVhsv(114, 88%, 23%)
CMYKcmyk(79.3%, 0%, 87.9%, 77.3%)
CIE-LABlab(20.52, -26.56, 25.17)
CIE-LCHlch(20.52, 36.59, 136.54°)
OKLaboklab(30.61% -0.0724 0.0573)
OKLCHoklch(30.61% 0.092 141.7)
XYZxyz(1.7029, 3.1194, 0.7133)
Luminance0.0312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3A07 #35073A
analogous
#253A07 #0C3A07 #073A1C
triadic
#0C3A07 #070C3A #3A070C
tetradic
#0C3A07 #07253A #35073A #3A1C07
square
#0C3A07 #07253A #35073A #3A1C07
split-complementary
#0C3A07 #1C073A #3A0725
monochromatic
#061B03 #061B03 #0C3A07 #17710E #23A714

Accessibility & contrast

On white

12.93
#0C3A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3A07
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3A07#FFFFFF#000000##FFFFFF
##0C3A071.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3a07;
/* rgb */ color: rgb(12, 58, 7);
/* oklch */ color: oklch(30.6% 0.092 141.7);
Tailwind
colors: {
  custom: {
    50: '#53714b',
    500: '#0c3a07',
    950: '#000000',
  },
}
SCSS
$custom: #0c3a07;
$custom-light: #53714b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3a07",
  "rgb": {
    "r": 12,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 114.118,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30607,
    "c": 0.09234,
    "h": 141.7
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#0C3A07
secondary
#712379
accent
#33F5E2
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C3A07

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

Preview Lab → · Contrast checker → · Palette generator →

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