#0C423F#0C423F

#0C423F is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.5% C 0.054 H 189.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#0C423F
RGBrgb(12, 66, 63)
HSLhsl(177, 69%, 15%)
HSVhsv(177, 82%, 26%)
CMYKcmyk(81.8%, 0%, 4.5%, 74.1%)
CIE-LABlab(24.74, -17.66, -3.14)
CIE-LCHlch(24.74, 17.94, 190.09°)
OKLaboklab(34.47% -0.0532 -0.0088)
OKLCHoklch(34.47% 0.054 189.4)
XYZxyz(2.9966, 4.3331, 5.3801)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C423F #420C0F
analogous
#0C4224 #0C423F #0C2A42
triadic
#0C423F #3F0C42 #423F0C
tetradic
#0C423F #240C42 #420C0F #2A420C
square
#0C423F #240C42 #420C0F #2A420C
split-complementary
#0C423F #420C2A #42240C
monochromatic
#051A19 #051A19 #0C423F #157670 #1FAAA2

Accessibility & contrast

On white

11.25
#0C423F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0C423F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C423F
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C423F#FFFFFF#000000##FFFFFF
##0C423F1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E3F
Deuteranopia (green-blind)
#36383F
Tritanopia (blue-blind)
#004441
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c423f;
/* rgb */ color: rgb(12, 66, 63);
/* oklch */ color: oklch(34.5% 0.054 189.4);
Tailwind
colors: {
  custom: {
    50: '#567674',
    500: '#0c423f',
    950: '#000000',
  },
}
SCSS
$custom: #0c423f;
$custom-light: #567674;
$custom-dark: #000000;
JSON
{
  "hex": "#0c423f",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 63
  },
  "hsl": {
    "h": 176.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.3447,
    "c": 0.05397,
    "h": 189.4
  },
  "luminance": 0.04333
}

Semantic roles & 50–950 ramp

primary
#0C423F
secondary
#7E2C30
accent
#3C46EC
background
#F5F7F7
surface
#E9EDED
border
#C5C8C8
text
#030808
muted
#787B7B

Preview Lab

Preview with #0C423F

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

Preview Lab → · Contrast checker → · Palette generator →

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