#0C3F2C#0C3F2C

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

Color values

HEX#0C3F2C
RGBrgb(12, 63, 44)
HSLhsl(158, 68%, 15%)
HSVhsv(158, 81%, 25%)
CMYKcmyk(81%, 0%, 30.2%, 75.3%)
CIE-LABlab(23.05, -21.97, 6.97)
CIE-LCHlch(23.05, 23.04, 162.40°)
OKLaboklab(32.9% -0.0603 0.0178)
OKLCHoklch(32.9% 0.063 163.6)
XYZxyz(2.3835, 3.8148, 2.9931)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F2C #3F0C1F
analogous
#0C3F13 #0C3F2C #0C393F
triadic
#0C3F2C #2C0C3F #3F2C0C
tetradic
#0C3F2C #130C3F #3F0C1F #393F0C
square
#0C3F2C #130C3F #3F0C1F #393F0C
split-complementary
#0C3F2C #3F0C39 #3F130C
monochromatic
#051A12 #051A12 #0C3F2C #167250 #20A674

Accessibility & contrast

On white

11.91
#0C3F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3F2C
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F2C#FFFFFF#000000##FFFFFF
##0C3F2C1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3f2c;
/* rgb */ color: rgb(12, 63, 44);
/* oklch */ color: oklch(32.9% 0.063 163.6);
Tailwind
colors: {
  custom: {
    50: '#547465',
    500: '#0c3f2c',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f2c;
$custom-light: #547465;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f2c",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 44
  },
  "hsl": {
    "h": 157.647,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32895,
    "c": 0.06286,
    "h": 163.6
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#0C3F2C
secondary
#7B2C49
accent
#3D7EEB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0C3F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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