#0C4128#0C4128

#0C4128 is a dark, moderate teal. Relative luminance 0.040; OKLCH L 33.4% C 0.070 H 157.9°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#0C4128
RGBrgb(12, 65, 40)
HSLhsl(152, 69%, 15%)
HSVhsv(152, 82%, 25%)
CMYKcmyk(81.5%, 0%, 38.5%, 74.5%)
CIE-LABlab(23.71, -23.97, 10.48)
CIE-LCHlch(23.71, 26.17, 156.39°)
OKLaboklab(33.41% -0.065 0.0264)
OKLCHoklch(33.41% 0.07 157.9)
XYZxyz(2.4247, 4.0117, 2.6536)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4128 #410C25
analogous
#0C410D #0C4128 #0C3F41
triadic
#0C4128 #280C41 #41280C
tetradic
#0C4128 #0D0C41 #410C25 #3F410C
square
#0C4128 #0D0C41 #410C25 #3F410C
split-complementary
#0C4128 #410C3F #410D0C
monochromatic
#051A10 #051A10 #0C4128 #167548 #1FA868

Accessibility & contrast

On white

11.65
#0C4128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0C4128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4128
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4128#FFFFFF#000000##FFFFFF
##0C41281.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B26
Deuteranopia (green-blind)
#3A372A
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4128;
/* rgb */ color: rgb(12, 65, 40);
/* oklch */ color: oklch(33.4% 0.070 157.9);
Tailwind
colors: {
  custom: {
    50: '#547662',
    500: '#0c4128',
    950: '#000000',
  },
}
SCSS
$custom: #0c4128;
$custom-light: #547662;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4128",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 40
  },
  "hsl": {
    "h": 151.698,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33406,
    "c": 0.07017,
    "h": 157.9
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#0C4128
secondary
#7D2C52
accent
#3C8FEC
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C4128

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

Preview Lab → · Contrast checker → · Palette generator →

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