#0C491F#0C491F

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

Color values

HEX#0C491F
RGBrgb(12, 73, 31)
HSLhsl(139, 72%, 17%)
HSVhsv(139, 84%, 29%)
CMYKcmyk(83.6%, 0%, 57.5%, 71.4%)
CIE-LABlab(26.57, -29.41, 19.73)
CIE-LCHlch(26.57, 35.41, 146.14°)
OKLaboklab(35.71% -0.0791 0.0476)
OKLCHoklch(35.71% 0.092 148.9)
XYZxyz(2.7813, 4.9419, 2.1034)
Luminance0.0494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C491F #490C36
analogous
#17490C #0C491F #0C493E
triadic
#0C491F #1F0C49 #491F0C
tetradic
#0C491F #0C1749 #490C36 #493E0C
square
#0C491F #0C1749 #490C36 #493E0C
split-complementary
#0C491F #3E0C49 #490C17
monochromatic
#041A0B #041A0B #0C491F #157E35 #1DB24C

Accessibility & contrast

On white

10.56
#0C491F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C491F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C491F#FFFFFF#000000##FFFFFF
##0C491F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c491f;
/* rgb */ color: rgb(12, 73, 31);
/* oklch */ color: oklch(35.7% 0.092 148.9);
Tailwind
colors: {
  custom: {
    50: '#567c5b',
    500: '#0c491f',
    950: '#000000',
  },
}
SCSS
$custom: #0c491f;
$custom-light: #567c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c491f",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 31
  },
  "hsl": {
    "h": 138.689,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35712,
    "c": 0.0923,
    "h": 148.9
  },
  "luminance": 0.04942
}

Semantic roles & 50–950 ramp

primary
#0C491F
secondary
#852C69
accent
#39B6EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C491F

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

Preview Lab → · Contrast checker → · Palette generator →

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