#0C422A#0C422A

#0C422A is a dark, moderate teal. Relative luminance 0.041; OKLCH L 33.8% C 0.070 H 159.2°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#0C422A
RGBrgb(12, 66, 42)
HSLhsl(153, 69%, 15%)
HSVhsv(153, 82%, 26%)
CMYKcmyk(81.8%, 0%, 36.4%, 74.1%)
CIE-LABlab(24.13, -23.95, 9.77)
CIE-LCHlch(24.13, 25.86, 157.81°)
OKLaboklab(33.77% -0.0651 0.0247)
OKLCHoklch(33.77% 0.07 159.2)
XYZxyz(2.5175, 4.1415, 2.8567)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C422A #420C24
analogous
#0C420F #0C422A #0C3F42
triadic
#0C422A #2A0C42 #422A0C
tetradic
#0C422A #0F0C42 #420C24 #3F420C
square
#0C422A #0F0C42 #420C24 #3F420C
split-complementary
#0C422A #420C3F #420F0C
monochromatic
#051A10 #051A10 #0C422A #15764B #1FAA6C

Accessibility & contrast

On white

11.49
#0C422A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C422A
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C422A#FFFFFF#000000##FFFFFF
##0C422A1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c422a;
/* rgb */ color: rgb(12, 66, 42);
/* oklch */ color: oklch(33.8% 0.070 159.2);
Tailwind
colors: {
  custom: {
    50: '#547763',
    500: '#0c422a',
    950: '#000000',
  },
}
SCSS
$custom: #0c422a;
$custom-light: #547763;
$custom-dark: #000000;
JSON
{
  "hex": "#0c422a",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 42
  },
  "hsl": {
    "h": 153.333,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3377,
    "c": 0.06961,
    "h": 159.2
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#0C422A
secondary
#7E2C50
accent
#3C8AEC
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C422A

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

Preview Lab → · Contrast checker → · Palette generator →

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