#0C422C#0C422C

#0C422C is a dark, moderate teal. Relative luminance 0.042; OKLCH L 33.8% C 0.068 H 161.3°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#0C422C
RGBrgb(12, 66, 44)
HSLhsl(156, 69%, 15%)
HSVhsv(156, 82%, 26%)
CMYKcmyk(81.8%, 0%, 33.3%, 74.1%)
CIE-LABlab(24.18, -23.43, 8.54)
CIE-LCHlch(24.18, 24.94, 159.98°)
OKLaboklab(33.82% -0.0639 0.0217)
OKLCHoklch(33.82% 0.068 161.3)
XYZxyz(2.5542, 4.1561, 3.0500)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C422C #420C22
analogous
#0C4211 #0C422C #0C3D42
triadic
#0C422C #2C0C42 #422C0C
tetradic
#0C422C #110C42 #420C22 #3D420C
square
#0C422C #110C42 #420C22 #3D420C
split-complementary
#0C422C #420C3D #42110C
monochromatic
#051A11 #051A11 #0C422C #15764F #1FAA71

Accessibility & contrast

On white

11.47
#0C422C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C422C
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C422C#FFFFFF#000000##FFFFFF
##0C422C1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C2B
Deuteranopia (green-blind)
#3A372D
Tritanopia (blue-blind)
#00423C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c422c;
/* rgb */ color: rgb(12, 66, 44);
/* oklch */ color: oklch(33.8% 0.068 161.3);
Tailwind
colors: {
  custom: {
    50: '#547765',
    500: '#0c422c',
    950: '#000000',
  },
}
SCSS
$custom: #0c422c;
$custom-light: #547765;
$custom-dark: #000000;
JSON
{
  "hex": "#0c422c",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 44
  },
  "hsl": {
    "h": 155.556,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33824,
    "c": 0.06752,
    "h": 161.3
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

primary
#0C422C
secondary
#7E2C4D
accent
#3C84EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030805
muted
#787B7A

Preview Lab

Preview with #0C422C

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

Preview Lab → · Contrast checker → · Palette generator →

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