#0C4929#0C4929

#0C4929 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.082 H 154.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#0C4929
RGBrgb(12, 73, 41)
HSLhsl(149, 72%, 17%)
HSVhsv(149, 84%, 29%)
CMYKcmyk(83.6%, 0%, 43.8%, 71.4%)
CIE-LABlab(26.74, -27.39, 13.91)
CIE-LCHlch(26.74, 30.72, 153.08°)
OKLaboklab(35.91% -0.0738 0.0347)
OKLCHoklch(35.91% 0.082 154.9)
XYZxyz(2.9341, 5.0030, 2.9084)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4929 #490C2C
analogous
#0D490C #0C4929 #0C4948
triadic
#0C4929 #290C49 #49290C
tetradic
#0C4929 #0C0D49 #490C2C #49480C
square
#0C4929 #0C0D49 #490C2C #49480C
split-complementary
#0C4929 #480C49 #490C0D
monochromatic
#041A0F #041A0F #0C4929 #157E47 #1DB264

Accessibility & contrast

On white

10.50
#0C4929 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0C4929 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4929
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4929#FFFFFF#000000##FFFFFF
##0C49291.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494227
Deuteranopia (green-blind)
#413D2B
Tritanopia (blue-blind)
#004841
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4929;
/* rgb */ color: rgb(12, 73, 41);
/* oklch */ color: oklch(35.9% 0.082 154.9);
Tailwind
colors: {
  custom: {
    50: '#567c63',
    500: '#0c4929',
    950: '#000000',
  },
}
SCSS
$custom: #0c4929;
$custom-light: #567c63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4929",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 41
  },
  "hsl": {
    "h": 148.525,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35913,
    "c": 0.08158,
    "h": 154.9
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#0C4929
secondary
#852C5B
accent
#3998EE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4929

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

Preview Lab → · Contrast checker → · Palette generator →

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