#0C4D29#0C4D29

#0C4D29 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.088 H 153.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#0C4D29
RGBrgb(12, 77, 41)
HSLhsl(147, 73%, 17%)
HSVhsv(147, 84%, 30%)
CMYKcmyk(84.4%, 0%, 46.8%, 69.8%)
CIE-LABlab(28.24, -29.13, 15.87)
CIE-LCHlch(28.24, 33.17, 151.42°)
OKLaboklab(37.15% -0.0784 0.0393)
OKLCHoklch(37.15% 0.088 153.4)
XYZxyz(3.2054, 5.5456, 2.9989)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D29 #4D0C30
analogous
#104D0C #0C4D29 #0C4D49
triadic
#0C4D29 #290C4D #4D290C
tetradic
#0C4D29 #0C104D #4D0C30 #4D490C
square
#0C4D29 #0C104D #4D0C30 #4D490C
split-complementary
#0C4D29 #490C4D #4D0C10
monochromatic
#041A0E #041A0E #0C4D29 #148245 #1DB761

Accessibility & contrast

On white

9.96
#0C4D29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4D29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D29
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D29#FFFFFF#000000##FFFFFF
##0C4D291.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4626
Deuteranopia (green-blind)
#45402B
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4d29;
/* rgb */ color: rgb(12, 77, 41);
/* oklch */ color: oklch(37.1% 0.088 153.4);
Tailwind
colors: {
  custom: {
    50: '#577f63',
    500: '#0c4d29',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d29;
$custom-light: #577f63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d29",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 41
  },
  "hsl": {
    "h": 146.769,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37146,
    "c": 0.08769,
    "h": 153.4
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#0C4D29
secondary
#892C5F
accent
#389EF0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0C4D29

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

Preview Lab → · Contrast checker → · Palette generator →

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