#0C2F22#0C2F22

#0C2F22 is a dark, muted teal. Relative luminance 0.022; OKLCH L 27.6% C 0.047 H 165.2°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#0C2F22
RGBrgb(12, 47, 34)
HSLhsl(158, 59%, 12%)
HSVhsv(158, 74%, 18%)
CMYKcmyk(74.5%, 0%, 27.7%, 81.6%)
CIE-LABlab(16.63, -16.46, 4.70)
CIE-LCHlch(16.63, 17.12, 164.07°)
OKLaboklab(27.55% -0.0456 0.012)
OKLCHoklch(27.55% 0.047 165.2)
XYZxyz(1.4567, 2.2265, 1.8661)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2F22 #2F0C19
analogous
#0C2F11 #0C2F22 #0C2B2F
triadic
#0C2F22 #220C2F #2F220C
tetradic
#0C2F22 #110C2F #2F0C19 #2B2F0C
square
#0C2F22 #110C2F #2F0C19 #2B2F0C
split-complementary
#0C2F22 #2F0C2B #2F110C
monochromatic
#061812 #061812 #0C2F22 #186045 #259169

Accessibility & contrast

On white

14.53
#0C2F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0C2F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2F22
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2F22#FFFFFF#000000##FFFFFF
##0C2F221.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2B21
Deuteranopia (green-blind)
#292823
Tritanopia (blue-blind)
#002F2B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0c2f22;
/* rgb */ color: rgb(12, 47, 34);
/* oklch */ color: oklch(27.6% 0.047 165.2);
Tailwind
colors: {
  custom: {
    50: '#4f685d',
    500: '#0c2f22',
    950: '#000000',
  },
}
SCSS
$custom: #0c2f22;
$custom-light: #4f685d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2f22",
  "rgb": {
    "r": 12,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 157.714,
    "s": 59.322,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27551,
    "c": 0.04714,
    "h": 165.2
  },
  "luminance": 0.02227
}

Semantic roles & 50–950 ramp

primary
#0C2F22
secondary
#6B2C43
accent
#4580E3
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0C2F22

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

Preview Lab → · Contrast checker → · Palette generator →

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