#0C3124#0C3124

#0C3124 is a dark, muted teal. Relative luminance 0.024; OKLCH L 28.3% C 0.048 H 166.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#0C3124
RGBrgb(12, 49, 36)
HSLhsl(159, 61%, 12%)
HSVhsv(159, 76%, 19%)
CMYKcmyk(75.5%, 0%, 26.5%, 80.8%)
CIE-LABlab(17.47, -16.98, 4.50)
CIE-LCHlch(17.47, 17.56, 165.15°)
OKLaboklab(28.25% -0.0471 0.0115)
OKLCHoklch(28.25% 0.048 166.3)
XYZxyz(1.5682, 2.4020, 2.0497)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3124 #310C19
analogous
#0C3112 #0C3124 #0C2C31
triadic
#0C3124 #240C31 #31240C
tetradic
#0C3124 #120C31 #310C19 #2C310C
square
#0C3124 #120C31 #310C19 #2C310C
split-complementary
#0C3124 #310C2C #31120C
monochromatic
#061912 #061912 #0C3124 #186248 #24936C

Accessibility & contrast

On white

14.19
#0C3124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#0C3124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3124
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3124#FFFFFF#000000##FFFFFF
##0C31241.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302D23
Deuteranopia (green-blind)
#2B2925
Tritanopia (blue-blind)
#00312D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c3124;
/* rgb */ color: rgb(12, 49, 36);
/* oklch */ color: oklch(28.3% 0.048 166.3);
Tailwind
colors: {
  custom: {
    50: '#50695e',
    500: '#0c3124',
    950: '#000000',
  },
}
SCSS
$custom: #0c3124;
$custom-light: #50695e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3124",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 36
  },
  "hsl": {
    "h": 158.919,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28252,
    "c": 0.04847,
    "h": 166.3
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#0C3124
secondary
#6D2C43
accent
#447CE4
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0C3124

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

Preview Lab → · Contrast checker → · Palette generator →

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