#0C4124#0C4124

#0C4124 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.075 H 154.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#0C4124
RGBrgb(12, 65, 36)
HSLhsl(147, 69%, 15%)
HSVhsv(147, 82%, 25%)
CMYKcmyk(81.5%, 0%, 44.6%, 74.5%)
CIE-LABlab(23.62, -24.93, 12.92)
CIE-LCHlch(23.62, 28.08, 152.60°)
OKLaboklab(33.31% -0.0673 0.0322)
OKLCHoklch(33.31% 0.075 154.4)
XYZxyz(2.3601, 3.9859, 2.3137)
Luminance0.0399 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4124 #410C29
analogous
#0E410C #0C4124 #0C413E
triadic
#0C4124 #240C41 #41240C
tetradic
#0C4124 #0C0E41 #410C29 #413E0C
square
#0C4124 #0C0E41 #410C29 #413E0C
split-complementary
#0C4124 #3E0C41 #410C0E
monochromatic
#051A0E #051A0E #0C4124 #167541 #1FA85D

Accessibility & contrast

On white

11.68
#0C4124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0C4124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4124
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4124#FFFFFF#000000##FFFFFF
##0C41241.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B22
Deuteranopia (green-blind)
#3A3626
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4124;
/* rgb */ color: rgb(12, 65, 36);
/* oklch */ color: oklch(33.3% 0.075 154.4);
Tailwind
colors: {
  custom: {
    50: '#54765f',
    500: '#0c4124',
    950: '#000000',
  },
}
SCSS
$custom: #0c4124;
$custom-light: #54765f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4124",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 36
  },
  "hsl": {
    "h": 147.17,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33308,
    "c": 0.07457,
    "h": 154.4
  },
  "luminance": 0.03986
}

Semantic roles & 50–950 ramp

primary
#0C4124
secondary
#7D2C58
accent
#3C9CEC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4124

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

Preview Lab → · Contrast checker → · Palette generator →

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