#0C3F2B#0C3F2B

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

Color values

HEX#0C3F2B
RGBrgb(12, 63, 43)
HSLhsl(156, 68%, 15%)
HSVhsv(156, 81%, 25%)
CMYKcmyk(81%, 0%, 31.7%, 75.3%)
CIE-LABlab(23.02, -22.24, 7.59)
CIE-LCHlch(23.02, 23.50, 161.16°)
OKLaboklab(32.87% -0.0609 0.0193)
OKLCHoklch(32.87% 0.064 162.4)
XYZxyz(2.3649, 3.8073, 2.8953)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F2B #3F0C20
analogous
#0C3F12 #0C3F2B #0C3A3F
triadic
#0C3F2B #2B0C3F #3F2B0C
tetradic
#0C3F2B #120C3F #3F0C20 #3A3F0C
square
#0C3F2B #120C3F #3F0C20 #3A3F0C
split-complementary
#0C3F2B #3F0C3A #3F120C
monochromatic
#051A12 #051A12 #0C3F2B #16724E #20A671

Accessibility & contrast

On white

11.92
#0C3F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C3F2B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F2B#FFFFFF#000000##FFFFFF
##0C3F2B1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c3f2b;
/* rgb */ color: rgb(12, 63, 43);
/* oklch */ color: oklch(32.9% 0.064 162.4);
Tailwind
colors: {
  custom: {
    50: '#537464',
    500: '#0c3f2b',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f2b;
$custom-light: #537464;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f2b",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 43
  },
  "hsl": {
    "h": 156.471,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32866,
    "c": 0.06386,
    "h": 162.4
  },
  "luminance": 0.03808
}

Semantic roles & 50–950 ramp

primary
#0C3F2B
secondary
#7B2C4B
accent
#3D81EB
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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