#0C491B#0C491B

#0C491B is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.096 H 147.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#0C491B
RGBrgb(12, 73, 27)
HSLhsl(135, 72%, 17%)
HSVhsv(135, 84%, 29%)
CMYKcmyk(83.6%, 0%, 63%, 71.4%)
CIE-LABlab(26.51, -30.08, 21.95)
CIE-LCHlch(26.51, 37.24, 143.89°)
OKLaboklab(35.65% -0.081 0.0522)
OKLCHoklch(35.65% 0.096 147.2)
XYZxyz(2.7318, 4.9221, 1.8428)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C491B #490C3A
analogous
#1C490C #0C491B #0C493A
triadic
#0C491B #1B0C49 #491B0C
tetradic
#0C491B #0C1C49 #490C3A #493A0C
square
#0C491B #0C1C49 #490C3A #493A0C
split-complementary
#0C491B #3A0C49 #490C1C
monochromatic
#041A0A #041A0A #0C491B #157E2E #1DB242

Accessibility & contrast

On white

10.58
#0C491B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0C491B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C491B
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C491B#FFFFFF#000000##FFFFFF
##0C491B1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4217
Deuteranopia (green-blind)
#433D1F
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c491b;
/* rgb */ color: rgb(12, 73, 27);
/* oklch */ color: oklch(35.6% 0.096 147.2);
Tailwind
colors: {
  custom: {
    50: '#577c59',
    500: '#0c491b',
    950: '#000000',
  },
}
SCSS
$custom: #0c491b;
$custom-light: #577c59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c491b",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 27
  },
  "hsl": {
    "h": 134.754,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35646,
    "c": 0.09635,
    "h": 147.2
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#0C491B
secondary
#852C6F
accent
#39C2EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C491B

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

Preview Lab → · Contrast checker → · Palette generator →

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