#0C423B#0C423B

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

Color values

HEX#0C423B
RGBrgb(12, 66, 59)
HSLhsl(172, 69%, 15%)
HSVhsv(172, 82%, 26%)
CMYKcmyk(81.8%, 0%, 10.6%, 74.1%)
CIE-LABlab(24.61, -18.99, -0.70)
CIE-LCHlch(24.61, 19.01, 182.11°)
OKLaboklab(34.32% -0.0554 -0.0022)
OKLCHoklch(34.32% 0.055 182.3)
XYZxyz(2.8889, 4.2900, 4.8126)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C423B #420C13
analogous
#0C4220 #0C423B #0C2E42
triadic
#0C423B #3B0C42 #423B0C
tetradic
#0C423B #200C42 #420C13 #2E420C
square
#0C423B #200C42 #420C13 #2E420C
split-complementary
#0C423B #420C2E #42200C
monochromatic
#051A17 #051A17 #0C423B #157669 #1FAA98

Accessibility & contrast

On white

11.30
#0C423B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C423B
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C423B#FFFFFF#000000##FFFFFF
##0C423B1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c423b;
/* rgb */ color: rgb(12, 66, 59);
/* oklch */ color: oklch(34.3% 0.055 182.3);
Tailwind
colors: {
  custom: {
    50: '#557670',
    500: '#0c423b',
    950: '#000000',
  },
}
SCSS
$custom: #0c423b;
$custom-light: #557670;
$custom-dark: #000000;
JSON
{
  "hex": "#0c423b",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 59
  },
  "hsl": {
    "h": 172.222,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34315,
    "c": 0.05548,
    "h": 182.3
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#0C423B
secondary
#7E2C36
accent
#3C53EC
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C423B

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

Preview Lab → · Contrast checker → · Palette generator →

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