#0C3F2D#0C3F2D

#0C3F2D is a dark, moderate teal. Relative luminance 0.038; OKLCH L 32.9% C 0.062 H 164.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#0C3F2D
RGBrgb(12, 63, 45)
HSLhsl(159, 68%, 15%)
HSVhsv(159, 81%, 25%)
CMYKcmyk(81%, 0%, 28.6%, 75.3%)
CIE-LABlab(23.08, -21.69, 6.34)
CIE-LCHlch(23.08, 22.60, 163.69°)
OKLaboklab(32.92% -0.0597 0.0162)
OKLCHoklch(32.92% 0.062 164.8)
XYZxyz(2.4025, 3.8224, 3.0933)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F2D #3F0C1E
analogous
#0C3F14 #0C3F2D #0C383F
triadic
#0C3F2D #2D0C3F #3F2D0C
tetradic
#0C3F2D #140C3F #3F0C1E #383F0C
square
#0C3F2D #140C3F #3F0C1E #383F0C
split-complementary
#0C3F2D #3F0C38 #3F140C
monochromatic
#051A12 #051A12 #0C3F2D #167252 #20A676

Accessibility & contrast

On white

11.90
#0C3F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3F2D
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F2D#FFFFFF#000000##FFFFFF
##0C3F2D1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2C
Deuteranopia (green-blind)
#37352E
Tritanopia (blue-blind)
#003F3A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c3f2d;
/* rgb */ color: rgb(12, 63, 45);
/* oklch */ color: oklch(32.9% 0.062 164.8);
Tailwind
colors: {
  custom: {
    50: '#547465',
    500: '#0c3f2d',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f2d;
$custom-light: #547465;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f2d",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 45
  },
  "hsl": {
    "h": 158.824,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32925,
    "c": 0.06188,
    "h": 164.8
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#0C3F2D
secondary
#7B2C48
accent
#3D7AEB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0C3F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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