#0C4930#0C4930

#0C4930 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.1% C 0.074 H 160.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#0C4930
RGBrgb(12, 73, 48)
HSLhsl(155, 72%, 17%)
HSVhsv(155, 84%, 29%)
CMYKcmyk(83.6%, 0%, 34.2%, 71.4%)
CIE-LABlab(26.89, -25.70, 9.71)
CIE-LCHlch(26.89, 27.47, 159.31°)
OKLaboklab(36.09% -0.07 0.0246)
OKLCHoklch(36.09% 0.074 160.6)
XYZxyz(3.0673, 5.0563, 3.6100)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4930 #490C25
analogous
#0C4912 #0C4930 #0C4449
triadic
#0C4930 #300C49 #49300C
tetradic
#0C4930 #120C49 #490C25 #44490C
square
#0C4930 #120C49 #490C25 #44490C
split-complementary
#0C4930 #490C44 #49120C
monochromatic
#041A11 #041A11 #0C4930 #157E53 #1DB275

Accessibility & contrast

On white

10.44
#0C4930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0C4930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4930
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4930#FFFFFF#000000##FFFFFF
##0C49301.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48432F
Deuteranopia (green-blind)
#403D32
Tritanopia (blue-blind)
#004942
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4930;
/* rgb */ color: rgb(12, 73, 48);
/* oklch */ color: oklch(36.1% 0.074 160.6);
Tailwind
colors: {
  custom: {
    50: '#567c68',
    500: '#0c4930',
    950: '#000000',
  },
}
SCSS
$custom: #0c4930;
$custom-light: #567c68;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4930",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 48
  },
  "hsl": {
    "h": 155.41,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36087,
    "c": 0.07417,
    "h": 160.6
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#0C4930
secondary
#852C50
accent
#3984EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C4930

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

Preview Lab → · Contrast checker → · Palette generator →

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