#0C422B#0C422B

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

Color values

HEX#0C422B
RGBrgb(12, 66, 43)
HSLhsl(154, 69%, 15%)
HSVhsv(154, 82%, 26%)
CMYKcmyk(81.8%, 0%, 34.8%, 74.1%)
CIE-LABlab(24.16, -23.69, 9.15)
CIE-LCHlch(24.16, 25.40, 158.88°)
OKLaboklab(33.8% -0.0645 0.0232)
OKLCHoklch(33.8% 0.069 160.2)
XYZxyz(2.5356, 4.1487, 2.9522)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C422B #420C23
analogous
#0C4210 #0C422B #0C3E42
triadic
#0C422B #2B0C42 #422B0C
tetradic
#0C422B #100C42 #420C23 #3E420C
square
#0C422B #100C42 #420C23 #3E420C
split-complementary
#0C422B #420C3E #42100C
monochromatic
#051A11 #051A11 #0C422B #15764D #1FAA6E

Accessibility & contrast

On white

11.48
#0C422B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C422B
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C422B#FFFFFF#000000##FFFFFF
##0C422B1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c422b;
/* rgb */ color: rgb(12, 66, 43);
/* oklch */ color: oklch(33.8% 0.069 160.2);
Tailwind
colors: {
  custom: {
    50: '#547764',
    500: '#0c422b',
    950: '#000000',
  },
}
SCSS
$custom: #0c422b;
$custom-light: #547764;
$custom-dark: #000000;
JSON
{
  "hex": "#0c422b",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 43
  },
  "hsl": {
    "h": 154.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33797,
    "c": 0.06856,
    "h": 160.2
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#0C422B
secondary
#7E2C4F
accent
#3C87EC
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C422B

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

Preview Lab → · Contrast checker → · Palette generator →

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