#0C3E27#0C3E27

#0C3E27 is a dark, moderate teal. Relative luminance 0.037; OKLCH L 32.4% C 0.066 H 158.7°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#0C3E27
RGBrgb(12, 62, 39)
HSLhsl(152, 68%, 15%)
HSVhsv(152, 81%, 24%)
CMYKcmyk(80.6%, 0%, 37.1%, 75.7%)
CIE-LABlab(22.55, -22.80, 9.55)
CIE-LCHlch(22.55, 24.71, 157.28°)
OKLaboklab(32.44% -0.0619 0.0241)
OKLCHoklch(32.44% 0.066 158.7)
XYZxyz(2.2402, 3.6696, 2.5093)
Luminance0.0367 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3E27 #3E0C23
analogous
#0C3E0E #0C3E27 #0C3C3E
triadic
#0C3E27 #270C3E #3E270C
tetradic
#0C3E27 #0E0C3E #3E0C23 #3C3E0C
square
#0C3E27 #0E0C3E #3E0C23 #3C3E0C
split-complementary
#0C3E27 #3E0C3C #3E0E0C
monochromatic
#051A10 #051A10 #0C3E27 #167147 #20A568

Accessibility & contrast

On white

12.11
#0C3E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0C3E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3E27
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3E27#FFFFFF#000000##FFFFFF
##0C3E271.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3926
Deuteranopia (green-blind)
#373428
Tritanopia (blue-blind)
#003E38
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3e27;
/* rgb */ color: rgb(12, 62, 39);
/* oklch */ color: oklch(32.4% 0.066 158.7);
Tailwind
colors: {
  custom: {
    50: '#537461',
    500: '#0c3e27',
    950: '#000000',
  },
}
SCSS
$custom: #0c3e27;
$custom-light: #537461;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3e27",
  "rgb": {
    "r": 12,
    "g": 62,
    "b": 39
  },
  "hsl": {
    "h": 152.4,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32442,
    "c": 0.06647,
    "h": 158.7
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#0C3E27
secondary
#7A2C50
accent
#3D8DEA
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3E27

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

Preview Lab → · Contrast checker → · Palette generator →

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