#0C422E#0C422E

#0C422E is a dark, moderate teal. Relative luminance 0.042; OKLCH L 33.9% C 0.066 H 163.5°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#0C422E
RGBrgb(12, 66, 46)
HSLhsl(158, 69%, 15%)
HSVhsv(158, 82%, 26%)
CMYKcmyk(81.8%, 0%, 30.3%, 74.1%)
CIE-LABlab(24.23, -22.89, 7.31)
CIE-LCHlch(24.23, 24.03, 162.30°)
OKLaboklab(33.88% -0.0628 0.0186)
OKLCHoklch(33.88% 0.066 163.5)
XYZxyz(2.5927, 4.1715, 3.2528)
Luminance0.0417 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C422E #420C20
analogous
#0C4213 #0C422E #0C3B42
triadic
#0C422E #2E0C42 #422E0C
tetradic
#0C422E #130C42 #420C20 #3B420C
square
#0C422E #130C42 #420C20 #3B420C
split-complementary
#0C422E #420C3B #42130C
monochromatic
#051A12 #051A12 #0C422E #157652 #1FAA76

Accessibility & contrast

On white

11.45
#0C422E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0C422E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C422E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C422E#FFFFFF#000000##FFFFFF
##0C422E1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2D
Deuteranopia (green-blind)
#3A382F
Tritanopia (blue-blind)
#00423D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c422e;
/* rgb */ color: rgb(12, 66, 46);
/* oklch */ color: oklch(33.9% 0.066 163.5);
Tailwind
colors: {
  custom: {
    50: '#547766',
    500: '#0c422e',
    950: '#000000',
  },
}
SCSS
$custom: #0c422e;
$custom-light: #547766;
$custom-dark: #000000;
JSON
{
  "hex": "#0c422e",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 46
  },
  "hsl": {
    "h": 157.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.06551,
    "h": 163.5
  },
  "luminance": 0.04172
}

Semantic roles & 50–950 ramp

primary
#0C422E
secondary
#7E2C4A
accent
#3C7DEC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C422E

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

Preview Lab → · Contrast checker → · Palette generator →

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