#0C491A#0C491A

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

Color values

HEX#0C491A
RGBrgb(12, 73, 26)
HSLhsl(134, 72%, 17%)
HSVhsv(134, 84%, 29%)
CMYKcmyk(83.6%, 0%, 64.4%, 71.4%)
CIE-LABlab(26.50, -30.24, 22.49)
CIE-LCHlch(26.50, 37.68, 143.36°)
OKLaboklab(35.63% -0.0814 0.0533)
OKLCHoklch(35.63% 0.097 146.8)
XYZxyz(2.7204, 4.9175, 1.7829)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C491A #490C3B
analogous
#1D490C #0C491A #0C4939
triadic
#0C491A #1A0C49 #491A0C
tetradic
#0C491A #0C1D49 #490C3B #49390C
square
#0C491A #0C1D49 #490C3B #49390C
split-complementary
#0C491A #390C49 #490C1D
monochromatic
#041A09 #041A09 #0C491A #157E2D #1DB23F

Accessibility & contrast

On white

10.59
#0C491A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C491A
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C491A#FFFFFF#000000##FFFFFF
##0C491A1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c491a;
/* rgb */ color: rgb(12, 73, 26);
/* oklch */ color: oklch(35.6% 0.097 146.8);
Tailwind
colors: {
  custom: {
    50: '#577c58',
    500: '#0c491a',
    950: '#000000',
  },
}
SCSS
$custom: #0c491a;
$custom-light: #577c58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c491a",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 26
  },
  "hsl": {
    "h": 133.77,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35631,
    "c": 0.09732,
    "h": 146.8
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#0C491A
secondary
#852C70
accent
#39C5EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C491A

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

Preview Lab → · Contrast checker → · Palette generator →

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