#0C4026#0C4026

#0C4026 is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.0% C 0.071 H 156.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#0C4026
RGBrgb(12, 64, 38)
HSLhsl(150, 68%, 15%)
HSVhsv(150, 81%, 25%)
CMYKcmyk(81.2%, 0%, 40.6%, 74.9%)
CIE-LABlab(23.29, -23.99, 11.19)
CIE-LCHlch(23.29, 26.48, 154.99°)
OKLaboklab(33.04% -0.0649 0.0281)
OKLCHoklch(33.04% 0.071 156.6)
XYZxyz(2.3346, 3.8846, 2.4601)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4026 #400C26
analogous
#0C400C #0C4026 #0C4040
triadic
#0C4026 #260C40 #40260C
tetradic
#0C4026 #0C0C40 #400C26 #40400C
square
#0C4026 #0C0C40 #400C26 #40400C
split-complementary
#0C4026 #400C40 #400C0C
monochromatic
#051A0F #051A0F #0C4026 #167445 #1FA763

Accessibility & contrast

On white

11.82
#0C4026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0C4026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4026
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4026#FFFFFF#000000##FFFFFF
##0C40261.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A24
Deuteranopia (green-blind)
#393628
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c4026;
/* rgb */ color: rgb(12, 64, 38);
/* oklch */ color: oklch(33.0% 0.071 156.6);
Tailwind
colors: {
  custom: {
    50: '#547560',
    500: '#0c4026',
    950: '#000000',
  },
}
SCSS
$custom: #0c4026;
$custom-light: #547560;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4026",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 38
  },
  "hsl": {
    "h": 150,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33043,
    "c": 0.07077,
    "h": 156.6
  },
  "luminance": 0.03885
}

Semantic roles & 50–950 ramp

primary
#0C4026
secondary
#7C2C54
accent
#3D94EB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0C4026

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

Preview Lab → · Contrast checker → · Palette generator →

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