#0C492A#0C492A

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

Color values

HEX#0C492A
RGBrgb(12, 73, 42)
HSLhsl(150, 72%, 17%)
HSVhsv(150, 84%, 29%)
CMYKcmyk(83.6%, 0%, 42.5%, 71.4%)
CIE-LABlab(26.76, -27.16, 13.31)
CIE-LCHlch(26.76, 30.25, 153.89°)
OKLaboklab(35.94% -0.0733 0.0333)
OKLCHoklch(35.94% 0.081 155.6)
XYZxyz(2.9518, 5.0101, 3.0015)
Luminance0.0501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C492A #490C2B
analogous
#0D490C #0C492A #0C4949
triadic
#0C492A #2A0C49 #492A0C
tetradic
#0C492A #0C0D49 #490C2B #49490C
square
#0C492A #0C0D49 #490C2B #49490C
split-complementary
#0C492A #490C49 #490C0D
monochromatic
#041A0F #041A0F #0C492A #157E48 #1DB266

Accessibility & contrast

On white

10.49
#0C492A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C492A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C492A#FFFFFF#000000##FFFFFF
##0C492A1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c492a;
/* rgb */ color: rgb(12, 73, 42);
/* oklch */ color: oklch(35.9% 0.081 155.6);
Tailwind
colors: {
  custom: {
    50: '#567c63',
    500: '#0c492a',
    950: '#000000',
  },
}
SCSS
$custom: #0c492a;
$custom-light: #567c63;
$custom-dark: #000000;
JSON
{
  "hex": "#0c492a",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 42
  },
  "hsl": {
    "h": 149.508,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35936,
    "c": 0.08051,
    "h": 155.6
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#0C492A
secondary
#852C59
accent
#3995EE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C492A

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

Preview Lab → · Contrast checker → · Palette generator →

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