#0C4115#0C4115

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

Color values

HEX#0C4115
RGBrgb(12, 65, 21)
HSLhsl(130, 69%, 15%)
HSVhsv(130, 82%, 25%)
CMYKcmyk(81.5%, 0%, 67.7%, 74.5%)
CIE-LABlab(23.38, -27.75, 21.61)
CIE-LCHlch(23.38, 35.17, 142.09°)
OKLaboklab(33.03% -0.0748 0.0509)
OKLCHoklch(33.03% 0.091 145.8)
XYZxyz(2.1771, 3.9127, 1.3498)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4115 #410C38
analogous
#1D410C #0C4115 #0C4130
triadic
#0C4115 #150C41 #41150C
tetradic
#0C4115 #0C1D41 #410C38 #41300C
square
#0C4115 #0C1D41 #410C38 #41300C
split-complementary
#0C4115 #300C41 #410C1D
monochromatic
#051A08 #051A08 #0C4115 #167526 #1FA836

Accessibility & contrast

On white

11.78
#0C4115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4115
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4115#FFFFFF#000000##FFFFFF
##0C41151.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4115;
/* rgb */ color: rgb(12, 65, 21);
/* oklch */ color: oklch(33.0% 0.091 145.8);
Tailwind
colors: {
  custom: {
    50: '#557654',
    500: '#0c4115',
    950: '#000000',
  },
}
SCSS
$custom: #0c4115;
$custom-light: #557654;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4115",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 130.189,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.09054,
    "h": 145.8
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#0C4115
secondary
#7D2C6F
accent
#3CCEEC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030803
muted
#787B78

Preview Lab

Preview with #0C4115

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

Preview Lab → · Contrast checker → · Palette generator →

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