#0C4120#0C4120

#0C4120 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.079 H 151.5°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#0C4120
RGBrgb(12, 65, 32)
HSLhsl(143, 69%, 15%)
HSVhsv(143, 82%, 25%)
CMYKcmyk(81.5%, 0%, 50.8%, 74.5%)
CIE-LABlab(23.55, -25.79, 15.33)
CIE-LCHlch(23.55, 30.01, 149.28°)
OKLaboklab(33.22% -0.0694 0.0377)
OKLCHoklch(33.22% 0.079 151.5)
XYZxyz(2.3024, 3.9628, 2.0098)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4120 #410C2D
analogous
#12410C #0C4120 #0C413B
triadic
#0C4120 #200C41 #41200C
tetradic
#0C4120 #0C1241 #410C2D #413B0C
square
#0C4120 #0C1241 #410C2D #413B0C
split-complementary
#0C4120 #3B0C41 #410C12
monochromatic
#051A0D #051A0D #0C4120 #167539 #1FA853

Accessibility & contrast

On white

11.71
#0C4120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4120
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4120#FFFFFF#000000##FFFFFF
##0C41201.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1E
Deuteranopia (green-blind)
#3B3622
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4120;
/* rgb */ color: rgb(12, 65, 32);
/* oklch */ color: oklch(33.2% 0.079 151.5);
Tailwind
colors: {
  custom: {
    50: '#54765c',
    500: '#0c4120',
    950: '#000000',
  },
}
SCSS
$custom: #0c4120;
$custom-light: #54765c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4120",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 32
  },
  "hsl": {
    "h": 142.642,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33219,
    "c": 0.07901,
    "h": 151.5
  },
  "luminance": 0.03963
}

Semantic roles & 50–950 ramp

primary
#0C4120
secondary
#7D2C5E
accent
#3CA9EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4120

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

Preview Lab → · Contrast checker → · Palette generator →

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