#0C4027#0C4027

#0C4027 is a dark, moderate teal. Relative luminance 0.039; OKLCH L 33.1% C 0.070 H 157.5°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#0C4027
RGBrgb(12, 64, 39)
HSLhsl(151, 68%, 15%)
HSVhsv(151, 81%, 25%)
CMYKcmyk(81.2%, 0%, 39.1%, 74.9%)
CIE-LABlab(23.31, -23.75, 10.58)
CIE-LCHlch(23.31, 26.00, 155.99°)
OKLaboklab(33.07% -0.0644 0.0267)
OKLCHoklch(33.07% 0.07 157.5)
XYZxyz(2.3510, 3.8912, 2.5462)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4027 #400C25
analogous
#0C400D #0C4027 #0C3F40
triadic
#0C4027 #270C40 #40270C
tetradic
#0C4027 #0D0C40 #400C25 #3F400C
square
#0C4027 #0D0C40 #400C25 #3F400C
split-complementary
#0C4027 #400C3F #400D0C
monochromatic
#051A10 #051A10 #0C4027 #167446 #1FA766

Accessibility & contrast

On white

11.81
#0C4027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4027
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4027#FFFFFF#000000##FFFFFF
##0C40271.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A25
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#003F3A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4027;
/* rgb */ color: rgb(12, 64, 39);
/* oklch */ color: oklch(33.1% 0.070 157.5);
Tailwind
colors: {
  custom: {
    50: '#547561',
    500: '#0c4027',
    950: '#000000',
  },
}
SCSS
$custom: #0c4027;
$custom-light: #547561;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4027",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 39
  },
  "hsl": {
    "h": 151.154,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33068,
    "c": 0.06968,
    "h": 157.5
  },
  "luminance": 0.03891
}

Semantic roles & 50–950 ramp

primary
#0C4027
secondary
#7C2C52
accent
#3D91EB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0C4027

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

Preview Lab → · Contrast checker → · Palette generator →

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