#0C4111#0C4111

#0C4111 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.094 H 144.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#0C4111
RGBrgb(12, 65, 17)
HSLhsl(126, 69%, 15%)
HSVhsv(126, 82%, 25%)
CMYKcmyk(81.5%, 0%, 73.8%, 74.5%)
CIE-LABlab(23.33, -28.29, 23.69)
CIE-LCHlch(23.33, 36.90, 140.06°)
OKLaboklab(32.97% -0.0765 0.0549)
OKLCHoklch(32.97% 0.094 144.3)
XYZxyz(2.1430, 3.8990, 1.1698)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4111 #410C3C
analogous
#22410C #0C4111 #0C412B
triadic
#0C4111 #110C41 #41110C
tetradic
#0C4111 #0C2241 #410C3C #412B0C
square
#0C4111 #0C2241 #410C3C #412B0C
split-complementary
#0C4111 #2B0C41 #410C22
monochromatic
#051A07 #051A07 #0C4111 #16751F #1FA82C

Accessibility & contrast

On white

11.80
#0C4111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0C4111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4111
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4111#FFFFFF#000000##FFFFFF
##0C41111.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0B
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4111;
/* rgb */ color: rgb(12, 65, 17);
/* oklch */ color: oklch(33.0% 0.094 144.3);
Tailwind
colors: {
  custom: {
    50: '#557651',
    500: '#0c4111',
    950: '#000000',
  },
}
SCSS
$custom: #0c4111;
$custom-light: #557651;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4111",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 125.66,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32974,
    "c": 0.0942,
    "h": 144.3
  },
  "luminance": 0.03899
}

Semantic roles & 50–950 ramp

primary
#0C4111
secondary
#7D2C75
accent
#3CDBEC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0C4111

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

Preview Lab → · Contrast checker → · Palette generator →

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