#0C4110#0C4110

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

Color values

HEX#0C4110
RGBrgb(12, 65, 16)
HSLhsl(125, 69%, 15%)
HSVhsv(125, 82%, 25%)
CMYKcmyk(81.5%, 0%, 75.4%, 74.5%)
CIE-LABlab(23.32, -28.42, 24.18)
CIE-LCHlch(23.32, 37.31, 139.61°)
OKLaboklab(32.96% -0.0769 0.0558)
OKLCHoklch(32.96% 0.095 144)
XYZxyz(2.1353, 3.8959, 1.1296)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4110 #410C3D
analogous
#23410C #0C4110 #0C412A
triadic
#0C4110 #100C41 #41100C
tetradic
#0C4110 #0C2341 #410C3D #412A0C
square
#0C4110 #0C2341 #410C3D #412A0C
split-complementary
#0C4110 #2A0C41 #410C23
monochromatic
#051A06 #051A06 #0C4110 #16751D #1FA829

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4110#FFFFFF#000000##FFFFFF
##0C41101.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)
#423A0A
Deuteranopia (green-blind)
#3C3615
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4110;
/* rgb */ color: rgb(12, 65, 16);
/* oklch */ color: oklch(33.0% 0.095 144.0);
Tailwind
colors: {
  custom: {
    50: '#557651',
    500: '#0c4110',
    950: '#000000',
  },
}
SCSS
$custom: #0c4110;
$custom-light: #557651;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4110",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 16
  },
  "hsl": {
    "h": 124.528,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32962,
    "c": 0.09505,
    "h": 144
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#0C4110
secondary
#7D2C77
accent
#3CDEEC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0C4110

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

Preview Lab → · Contrast checker → · Palette generator →

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