#0C3D27#0C3D27

#0C3D27 is a dark, moderate teal. Relative luminance 0.036; OKLCH L 32.1% C 0.065 H 159.4°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#0C3D27
RGBrgb(12, 61, 39)
HSLhsl(153, 67%, 14%)
HSVhsv(153, 80%, 24%)
CMYKcmyk(80.3%, 0%, 36.1%, 76.1%)
CIE-LABlab(22.17, -22.31, 9.03)
CIE-LCHlch(22.17, 24.07, 157.97°)
OKLaboklab(32.13% -0.0607 0.0229)
OKLCHoklch(32.13% 0.065 159.4)
XYZxyz(2.1864, 3.5619, 2.4913)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D27 #3D0C22
analogous
#0C3D0F #0C3D27 #0C3B3D
triadic
#0C3D27 #270C3D #3D270C
tetradic
#0C3D27 #0F0C3D #3D0C22 #3B3D0C
square
#0C3D27 #0F0C3D #3D0C22 #3B3D0C
split-complementary
#0C3D27 #3D0C3B #3D0F0C
monochromatic
#051A10 #051A10 #0C3D27 #167048 #20A368

Accessibility & contrast

On white

12.26
#0C3D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0C3D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3D27
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3D27#FFFFFF#000000##FFFFFF
##0C3D271.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3826
Deuteranopia (green-blind)
#363328
Tritanopia (blue-blind)
#003D37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3d27;
/* rgb */ color: rgb(12, 61, 39);
/* oklch */ color: oklch(32.1% 0.065 159.4);
Tailwind
colors: {
  custom: {
    50: '#537361',
    500: '#0c3d27',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d27;
$custom-light: #537361;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d27",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 39
  },
  "hsl": {
    "h": 153.061,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32129,
    "c": 0.06488,
    "h": 159.4
  },
  "luminance": 0.03562
}

Semantic roles & 50–950 ramp

primary
#0C3D27
secondary
#792C4E
accent
#3E8BEA
background
#F4F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3D27

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

Preview Lab → · Contrast checker → · Palette generator →

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