#0C4F29#0C4F29

#0C4F29 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.8% C 0.091 H 152.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#0C4F29
RGBrgb(12, 79, 41)
HSLhsl(146, 74%, 18%)
HSVhsv(146, 85%, 31%)
CMYKcmyk(84.8%, 0%, 48.1%, 69%)
CIE-LABlab(28.98, -29.98, 16.83)
CIE-LCHlch(28.98, 34.38, 150.68°)
OKLaboklab(37.76% -0.0806 0.0415)
OKLCHoklch(37.76% 0.091 152.7)
XYZxyz(3.3475, 5.8298, 3.0462)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F29 #4F0C32
analogous
#114F0C #0C4F29 #0C4F4A
triadic
#0C4F29 #290C4F #4F290C
tetradic
#0C4F29 #0C114F #4F0C32 #4F4A0C
square
#0C4F29 #0C114F #4F0C32 #4F4A0C
split-complementary
#0C4F29 #4A0C4F #4F0C11
monochromatic
#041B0E #041B0E #0C4F29 #148445 #1CB960

Accessibility & contrast

On white

9.70
#0C4F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#0C4F29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F29
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F29#FFFFFF#000000##FFFFFF
##0C4F291.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4826
Deuteranopia (green-blind)
#47422C
Tritanopia (blue-blind)
#004E46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4f29;
/* rgb */ color: rgb(12, 79, 41);
/* oklch */ color: oklch(37.8% 0.091 152.7);
Tailwind
colors: {
  custom: {
    50: '#588163',
    500: '#0c4f29',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f29;
$custom-light: #588163;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f29",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 41
  },
  "hsl": {
    "h": 145.97,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.3776,
    "c": 0.09069,
    "h": 152.7
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#0C4F29
secondary
#8B2C62
accent
#38A0F0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0C4F29

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

Preview Lab → · Contrast checker → · Palette generator →

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