#0C3E2A#0C3E2A

#0C3E2A is a dark, moderate teal. Relative luminance 0.037; OKLCH L 32.5% C 0.063 H 162.0°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#0C3E2A
RGBrgb(12, 62, 42)
HSLhsl(156, 68%, 15%)
HSVhsv(156, 81%, 24%)
CMYKcmyk(80.6%, 0%, 32.3%, 75.7%)
CIE-LABlab(22.62, -22.01, 7.68)
CIE-LCHlch(22.62, 23.32, 160.76°)
OKLaboklab(32.53% -0.0602 0.0196)
OKLCHoklch(32.53% 0.063 162)
XYZxyz(2.2919, 3.6903, 2.7816)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3E2A #3E0C20
analogous
#0C3E11 #0C3E2A #0C393E
triadic
#0C3E2A #2A0C3E #3E2A0C
tetradic
#0C3E2A #110C3E #3E0C20 #393E0C
square
#0C3E2A #110C3E #3E0C20 #393E0C
split-complementary
#0C3E2A #3E0C39 #3E110C
monochromatic
#051A11 #051A11 #0C3E2A #16714D #20A56F

Accessibility & contrast

On white

12.08
#0C3E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#0C3E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3E2A
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3E2A#FFFFFF#000000##FFFFFF
##0C3E2A1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3929
Deuteranopia (green-blind)
#36342B
Tritanopia (blue-blind)
#003E39
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3e2a;
/* rgb */ color: rgb(12, 62, 42);
/* oklch */ color: oklch(32.5% 0.063 162.0);
Tailwind
colors: {
  custom: {
    50: '#537463',
    500: '#0c3e2a',
    950: '#000000',
  },
}
SCSS
$custom: #0c3e2a;
$custom-light: #537463;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3e2a",
  "rgb": {
    "r": 12,
    "g": 62,
    "b": 42
  },
  "hsl": {
    "h": 156,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32526,
    "c": 0.06331,
    "h": 162
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#0C3E2A
secondary
#7A2C4B
accent
#3D83EA
background
#F5F7F5
surface
#E8EDEA
border
#C4C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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