#0C4028#0C4028

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

Color values

HEX#0C4028
RGBrgb(12, 64, 40)
HSLhsl(152, 68%, 15%)
HSVhsv(152, 81%, 25%)
CMYKcmyk(81.2%, 0%, 37.5%, 74.9%)
CIE-LABlab(23.33, -23.50, 9.96)
CIE-LCHlch(23.33, 25.53, 157.02°)
OKLaboklab(33.09% -0.0638 0.0252)
OKLCHoklch(33.09% 0.069 158.5)
XYZxyz(2.3678, 3.8979, 2.6347)
Luminance0.0390 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4028 #400C24
analogous
#0C400E #0C4028 #0C3E40
triadic
#0C4028 #280C40 #40280C
tetradic
#0C4028 #0E0C40 #400C24 #3E400C
square
#0C4028 #0E0C40 #400C24 #3E400C
split-complementary
#0C4028 #400C3E #400E0C
monochromatic
#051A10 #051A10 #0C4028 #167448 #1FA768

Accessibility & contrast

On white

11.80
#0C4028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4028
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4028#FFFFFF#000000##FFFFFF
##0C40281.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A27
Deuteranopia (green-blind)
#39362A
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4028;
/* rgb */ color: rgb(12, 64, 40);
/* oklch */ color: oklch(33.1% 0.069 158.5);
Tailwind
colors: {
  custom: {
    50: '#547562',
    500: '#0c4028',
    950: '#000000',
  },
}
SCSS
$custom: #0c4028;
$custom-light: #547562;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4028",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 40
  },
  "hsl": {
    "h": 152.308,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33094,
    "c": 0.06859,
    "h": 158.5
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#0C4028
secondary
#7C2C51
accent
#3D8DEB
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C4028

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

Preview Lab → · Contrast checker → · Palette generator →

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