#0C423A#0C423A

#0C423A is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.3% C 0.056 H 180.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#0C423A
RGBrgb(12, 66, 58)
HSLhsl(171, 69%, 15%)
HSVhsv(171, 82%, 26%)
CMYKcmyk(81.8%, 0%, 12.1%, 74.1%)
CIE-LABlab(24.58, -19.32, -0.09)
CIE-LCHlch(24.58, 19.32, 180.26°)
OKLaboklab(34.28% -0.056 -0.0005)
OKLCHoklch(34.28% 0.056 180.6)
XYZxyz(2.8632, 4.2797, 4.6773)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C423A #420C14
analogous
#0C421F #0C423A #0C2F42
triadic
#0C423A #3A0C42 #423A0C
tetradic
#0C423A #1F0C42 #420C14 #2F420C
square
#0C423A #1F0C42 #420C14 #2F420C
split-complementary
#0C423A #420C2F #421F0C
monochromatic
#051A17 #051A17 #0C423A #157668 #1FAA95

Accessibility & contrast

On white

11.31
#0C423A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#0C423A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C423A
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C423A#FFFFFF#000000##FFFFFF
##0C423A1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3E3A
Deuteranopia (green-blind)
#37383B
Tritanopia (blue-blind)
#004340
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c423a;
/* rgb */ color: rgb(12, 66, 58);
/* oklch */ color: oklch(34.3% 0.056 180.6);
Tailwind
colors: {
  custom: {
    50: '#557770',
    500: '#0c423a',
    950: '#000000',
  },
}
SCSS
$custom: #0c423a;
$custom-light: #557770;
$custom-dark: #000000;
JSON
{
  "hex": "#0c423a",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 58
  },
  "hsl": {
    "h": 171.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34278,
    "c": 0.05599,
    "h": 180.6
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#0C423A
secondary
#7E2C38
accent
#3C56EC
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C423A

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

Preview Lab → · Contrast checker → · Palette generator →

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