#0C3F2A#0C3F2A

#0C3F2A is a dark, moderate teal. Relative luminance 0.038; OKLCH L 32.8% C 0.065 H 161.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#0C3F2A
RGBrgb(12, 63, 42)
HSLhsl(155, 68%, 15%)
HSVhsv(155, 81%, 25%)
CMYKcmyk(81%, 0%, 33.3%, 75.3%)
CIE-LABlab(23.00, -22.50, 8.21)
CIE-LCHlch(23.00, 23.95, 159.96°)
OKLaboklab(32.84% -0.0614 0.0209)
OKLCHoklch(32.84% 0.065 161.2)
XYZxyz(2.3468, 3.8001, 2.7998)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F2A #3F0C21
analogous
#0C3F11 #0C3F2A #0C3B3F
triadic
#0C3F2A #2A0C3F #3F2A0C
tetradic
#0C3F2A #110C3F #3F0C21 #3B3F0C
square
#0C3F2A #110C3F #3F0C21 #3B3F0C
split-complementary
#0C3F2A #3F0C3B #3F110C
monochromatic
#051A11 #051A11 #0C3F2A #16724C #20A66F

Accessibility & contrast

On white

11.93
#0C3F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0C3F2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F2A
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F2A#FFFFFF#000000##FFFFFF
##0C3F2A1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A29
Deuteranopia (green-blind)
#37352B
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c3f2a;
/* rgb */ color: rgb(12, 63, 42);
/* oklch */ color: oklch(32.8% 0.065 161.2);
Tailwind
colors: {
  custom: {
    50: '#537463',
    500: '#0c3f2a',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f2a;
$custom-light: #537463;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f2a",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 42
  },
  "hsl": {
    "h": 155.294,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32837,
    "c": 0.06489,
    "h": 161.2
  },
  "luminance": 0.038
}

Semantic roles & 50–950 ramp

primary
#0C3F2A
secondary
#7B2C4C
accent
#3D85EB
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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