#0C422D#0C422D

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

Color values

HEX#0C422D
RGBrgb(12, 66, 45)
HSLhsl(157, 69%, 15%)
HSVhsv(157, 82%, 26%)
CMYKcmyk(81.8%, 0%, 31.8%, 74.1%)
CIE-LABlab(24.21, -23.17, 7.92)
CIE-LCHlch(24.21, 24.48, 161.12°)
OKLaboklab(33.85% -0.0634 0.0202)
OKLCHoklch(33.85% 0.067 162.4)
XYZxyz(2.5732, 4.1638, 3.1502)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C422D #420C21
analogous
#0C4212 #0C422D #0C3C42
triadic
#0C422D #2D0C42 #422D0C
tetradic
#0C422D #120C42 #420C21 #3C420C
square
#0C422D #120C42 #420C21 #3C420C
split-complementary
#0C422D #420C3C #42120C
monochromatic
#051A12 #051A12 #0C422D #157650 #1FAA74

Accessibility & contrast

On white

11.46
#0C422D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C422D
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C422D#FFFFFF#000000##FFFFFF
##0C422D1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C2C
Deuteranopia (green-blind)
#3A382E
Tritanopia (blue-blind)
#00423C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c422d;
/* rgb */ color: rgb(12, 66, 45);
/* oklch */ color: oklch(33.9% 0.067 162.4);
Tailwind
colors: {
  custom: {
    50: '#547766',
    500: '#0c422d',
    950: '#000000',
  },
}
SCSS
$custom: #0c422d;
$custom-light: #547766;
$custom-dark: #000000;
JSON
{
  "hex": "#0c422d",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 45
  },
  "hsl": {
    "h": 156.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33853,
    "c": 0.0665,
    "h": 162.4
  },
  "luminance": 0.04164
}

Semantic roles & 50–950 ramp

primary
#0C422D
secondary
#7E2C4C
accent
#3C80EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0C422D

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

Preview Lab → · Contrast checker → · Palette generator →

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