#0C4103#0C4103

#0C4103 is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.8% C 0.104 H 141.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#0C4103
RGBrgb(12, 65, 3)
HSLhsl(111, 91%, 13%)
HSVhsv(111, 95%, 25%)
CMYKcmyk(81.5%, 0%, 95.4%, 74.5%)
CIE-LABlab(23.22, -29.69, 29.68)
CIE-LCHlch(23.22, 41.98, 135.00°)
OKLaboklab(32.84% -0.0812 0.0657)
OKLCHoklch(32.84% 0.104 141)
XYZxyz(2.0582, 3.8651, 0.7237)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4103 #380341
analogous
#2B4103 #0C4103 #034119
triadic
#0C4103 #030C41 #41030C
tetradic
#0C4103 #032B41 #380341 #411903
square
#0C4103 #032B41 #380341 #411903
split-complementary
#0C4103 #190341 #41032B
monochromatic
#051D01 #051D01 #0C4103 #177B06 #22B608

Accessibility & contrast

On white

11.84
#0C4103 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0C4103 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4103
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4103#FFFFFF#000000##FFFFFF
##0C41031.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3D360A
Tritanopia (blue-blind)
#013F36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c4103;
/* rgb */ color: rgb(12, 65, 3);
/* oklch */ color: oklch(32.8% 0.104 141.0);
Tailwind
colors: {
  custom: {
    50: '#56764a',
    500: '#0c4103',
    950: '#000000',
  },
}
SCSS
$custom: #0c4103;
$custom-light: #56764a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4103",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 3
  },
  "hsl": {
    "h": 111.29,
    "s": 91.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32842,
    "c": 0.10441,
    "h": 141
  },
  "luminance": 0.03865
}

Semantic roles & 50–950 ramp

primary
#0C4103
secondary
#741D83
accent
#29FFE0
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #0C4103

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

Preview Lab → · Contrast checker → · Palette generator →

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