#0C4119#0C4119

#0C4119 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.1% C 0.087 H 147.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#0C4119
RGBrgb(12, 65, 25)
HSLhsl(135, 69%, 15%)
HSVhsv(135, 82%, 25%)
CMYKcmyk(81.5%, 0%, 61.5%, 74.5%)
CIE-LABlab(23.43, -27.11, 19.40)
CIE-LCHlch(23.43, 33.34, 144.41°)
OKLaboklab(33.09% -0.073 0.0465)
OKLCHoklch(33.09% 0.087 147.5)
XYZxyz(2.2172, 3.9287, 1.5610)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4119 #410C34
analogous
#19410C #0C4119 #0C4133
triadic
#0C4119 #190C41 #41190C
tetradic
#0C4119 #0C1941 #410C34 #41330C
square
#0C4119 #0C1941 #410C34 #41330C
split-complementary
#0C4119 #330C41 #410C19
monochromatic
#051A0A #051A0A #0C4119 #16752D #1FA841

Accessibility & contrast

On white

11.76
#0C4119 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0C4119 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4119
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4119#FFFFFF#000000##FFFFFF
##0C41191.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A15
Deuteranopia (green-blind)
#3C361C
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4119;
/* rgb */ color: rgb(12, 65, 25);
/* oklch */ color: oklch(33.1% 0.087 147.5);
Tailwind
colors: {
  custom: {
    50: '#547657',
    500: '#0c4119',
    950: '#000000',
  },
}
SCSS
$custom: #0c4119;
$custom-light: #547657;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4119",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 25
  },
  "hsl": {
    "h": 134.717,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33088,
    "c": 0.08655,
    "h": 147.5
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#0C4119
secondary
#7D2C69
accent
#3CC1EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0C4119

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

Preview Lab → · Contrast checker → · Palette generator →

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