#0C4729#0C4729

#0C4729 is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.3% C 0.079 H 155.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#0C4729
RGBrgb(12, 71, 41)
HSLhsl(149, 71%, 16%)
HSVhsv(149, 83%, 28%)
CMYKcmyk(83.1%, 0%, 42.3%, 72.2%)
CIE-LABlab(25.99, -26.50, 12.91)
CIE-LCHlch(25.99, 29.48, 154.02°)
OKLaboklab(35.3% -0.0715 0.0323)
OKLCHoklch(35.3% 0.079 155.7)
XYZxyz(2.8048, 4.7444, 2.8653)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4729 #470C2A
analogous
#0D470C #0C4729 #0C4747
triadic
#0C4729 #290C47 #47290C
tetradic
#0C4729 #0C0D47 #470C2A #47470C
square
#0C4729 #0C0D47 #470C2A #47470C
split-complementary
#0C4729 #470C47 #470C0D
monochromatic
#041A0F #041A0F #0C4729 #157B47 #1EB065

Accessibility & contrast

On white

10.77
#0C4729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0C4729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4729
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4729#FFFFFF#000000##FFFFFF
##0C47291.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474127
Deuteranopia (green-blind)
#403B2B
Tritanopia (blue-blind)
#00463F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4729;
/* rgb */ color: rgb(12, 71, 41);
/* oklch */ color: oklch(35.3% 0.079 155.7);
Tailwind
colors: {
  custom: {
    50: '#567b63',
    500: '#0c4729',
    950: '#000000',
  },
}
SCSS
$custom: #0c4729;
$custom-light: #567b63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4729",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 41
  },
  "hsl": {
    "h": 149.492,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.0785,
    "h": 155.7
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#0C4729
secondary
#832C58
accent
#3A95EE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4729

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

Preview Lab → · Contrast checker → · Palette generator →

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