#0C3104#0C3104

#0C3104 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.6% C 0.083 H 140.3°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#0C3104
RGBrgb(12, 49, 4)
HSLhsl(109, 85%, 10%)
HSVhsv(109, 92%, 19%)
CMYKcmyk(75.5%, 0%, 91.8%, 80.8%)
CIE-LABlab(16.91, -23.15, 22.17)
CIE-LCHlch(16.91, 32.05, 136.24°)
OKLaboklab(27.61% -0.0635 0.0528)
OKLCHoklch(27.61% 0.083 140.3)
XYZxyz(1.2718, 2.2834, 0.4886)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3104 #290431
analogous
#223104 #0C3104 #043112
triadic
#0C3104 #040C31 #31040C
tetradic
#0C3104 #042231 #290431 #311204
square
#0C3104 #042231 #290431 #311204
split-complementary
#0C3104 #120431 #310422
monochromatic
#071C02 #071C02 #0C3104 #1A6A09 #28A20D

Accessibility & contrast

On white

14.42
#0C3104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0C3104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3104
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3104#FFFFFF#000000##FFFFFF
##0C31041.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332C00
Deuteranopia (green-blind)
#2E2908
Tritanopia (blue-blind)
#072F28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c3104;
/* rgb */ color: rgb(12, 49, 4);
/* oklch */ color: oklch(27.6% 0.083 140.3);
Tailwind
colors: {
  custom: {
    50: '#506949',
    500: '#0c3104',
    950: '#000000',
  },
}
SCSS
$custom: #0c3104;
$custom-light: #506949;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3104",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 4
  },
  "hsl": {
    "h": 109.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.27609,
    "c": 0.08259,
    "h": 140.3
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#0C3104
secondary
#641D73
accent
#2DFBD6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C3104

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

Preview Lab → · Contrast checker → · Palette generator →

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