#0C491C#0C491C

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

Color values

HEX#0C491C
RGBrgb(12, 73, 28)
HSLhsl(136, 72%, 17%)
HSVhsv(136, 84%, 29%)
CMYKcmyk(83.6%, 0%, 61.6%, 71.4%)
CIE-LABlab(26.53, -29.92, 21.40)
CIE-LCHlch(26.53, 36.79, 144.43°)
OKLaboklab(35.66% -0.0805 0.0511)
OKLCHoklch(35.66% 0.095 147.6)
XYZxyz(2.7436, 4.9268, 1.9048)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C491C #490C39
analogous
#1B490C #0C491C #0C493B
triadic
#0C491C #1C0C49 #491C0C
tetradic
#0C491C #0C1B49 #490C39 #493B0C
square
#0C491C #0C1B49 #490C39 #493B0C
split-complementary
#0C491C #3B0C49 #490C1B
monochromatic
#041A0A #041A0A #0C491C #157E30 #1DB244

Accessibility & contrast

On white

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

On black

1.99
#0C491C on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0C491C#FFFFFF#000000##FFFFFF
##0C491C1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c491c;
/* rgb */ color: rgb(12, 73, 28);
/* oklch */ color: oklch(35.7% 0.095 147.6);
Tailwind
colors: {
  custom: {
    50: '#577c59',
    500: '#0c491c',
    950: '#000000',
  },
}
SCSS
$custom: #0c491c;
$custom-light: #577c59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c491c",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 28
  },
  "hsl": {
    "h": 135.738,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35662,
    "c": 0.09535,
    "h": 147.6
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#0C491C
secondary
#852C6E
accent
#39BFEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C491C

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

Preview Lab → · Contrast checker → · Palette generator →

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