#0C3F2F#0C3F2F

#0C3F2F is a dark, moderate teal. Relative luminance 0.038; OKLCH L 33.0% C 0.060 H 167.4°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#0C3F2F
RGBrgb(12, 63, 47)
HSLhsl(161, 68%, 15%)
HSVhsv(161, 81%, 25%)
CMYKcmyk(81%, 0%, 25.4%, 75.3%)
CIE-LABlab(23.13, -21.12, 5.10)
CIE-LCHlch(23.13, 21.73, 166.42°)
OKLaboklab(32.99% -0.0586 0.013)
OKLCHoklch(32.99% 0.06 167.4)
XYZxyz(2.4419, 3.8381, 3.3009)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F2F #3F0C1C
analogous
#0C3F15 #0C3F2F #0C363F
triadic
#0C3F2F #2F0C3F #3F2F0C
tetradic
#0C3F2F #150C3F #3F0C1C #363F0C
square
#0C3F2F #150C3F #3F0C1C #363F0C
split-complementary
#0C3F2F #3F0C36 #3F150C
monochromatic
#051A13 #051A13 #0C3F2F #167255 #20A67C

Accessibility & contrast

On white

11.88
#0C3F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0C3F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F2F
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F2F#FFFFFF#000000##FFFFFF
##0C3F2F1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2E
Deuteranopia (green-blind)
#373530
Tritanopia (blue-blind)
#003F3B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c3f2f;
/* rgb */ color: rgb(12, 63, 47);
/* oklch */ color: oklch(33.0% 0.060 167.4);
Tailwind
colors: {
  custom: {
    50: '#547467',
    500: '#0c3f2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f2f;
$custom-light: #547467;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f2f",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 47
  },
  "hsl": {
    "h": 161.176,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32986,
    "c": 0.06,
    "h": 167.4
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#0C3F2F
secondary
#7B2C45
accent
#3D74EB
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C3F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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