#0C4A31#0C4A31

#0C4A31 is a dark, moderate teal. Relative luminance 0.052; OKLCH L 36.4% C 0.075 H 160.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#0C4A31
RGBrgb(12, 74, 49)
HSLhsl(156, 72%, 17%)
HSVhsv(156, 84%, 29%)
CMYKcmyk(83.8%, 0%, 33.8%, 71%)
CIE-LABlab(27.29, -25.91, 9.61)
CIE-LCHlch(27.29, 27.64, 159.65°)
OKLaboklab(36.42% -0.0706 0.0244)
OKLCHoklch(36.42% 0.075 160.9)
XYZxyz(3.1544, 5.1971, 3.7420)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A31 #4A0C25
analogous
#0C4A12 #0C4A31 #0C444A
triadic
#0C4A31 #310C4A #4A310C
tetradic
#0C4A31 #120C4A #4A0C25 #444A0C
square
#0C4A31 #120C4A #4A0C25 #444A0C
split-complementary
#0C4A31 #4A0C44 #4A120C
monochromatic
#041A11 #041A11 #0C4A31 #157F54 #1DB377

Accessibility & contrast

On white

10.30
#0C4A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0C4A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A31
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A31#FFFFFF#000000##FFFFFF
##0C4A311.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494430
Deuteranopia (green-blind)
#413E33
Tritanopia (blue-blind)
#004A43
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4a31;
/* rgb */ color: rgb(12, 74, 49);
/* oklch */ color: oklch(36.4% 0.075 160.9);
Tailwind
colors: {
  custom: {
    50: '#567d69',
    500: '#0c4a31',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a31;
$custom-light: #567d69;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a31",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 49
  },
  "hsl": {
    "h": 155.806,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3642,
    "c": 0.07468,
    "h": 160.9
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#0C4A31
secondary
#862C50
accent
#3982EF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030A06
muted
#787C7A

Preview Lab

Preview with #0C4A31

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

Preview Lab → · Contrast checker → · Palette generator →

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