#0C423D#0C423D

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

Color values

HEX#0C423D
RGBrgb(12, 66, 61)
HSLhsl(174, 69%, 15%)
HSVhsv(174, 82%, 26%)
CMYKcmyk(81.8%, 0%, 7.6%, 74.1%)
CIE-LABlab(24.67, -18.34, -1.92)
CIE-LCHlch(24.67, 18.44, 185.99°)
OKLaboklab(34.39% -0.0543 -0.0055)
OKLCHoklch(34.39% 0.055 185.8)
XYZxyz(2.9417, 4.3112, 5.0911)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C423D #420C11
analogous
#0C4222 #0C423D #0C2C42
triadic
#0C423D #3D0C42 #423D0C
tetradic
#0C423D #220C42 #420C11 #2C420C
square
#0C423D #220C42 #420C11 #2C420C
split-complementary
#0C423D #420C2C #42220C
monochromatic
#051A18 #051A18 #0C423D #15766D #1FAA9D

Accessibility & contrast

On white

11.28
#0C423D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C423D
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C423D#FFFFFF#000000##FFFFFF
##0C423D1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E3D
Deuteranopia (green-blind)
#37383E
Tritanopia (blue-blind)
#004440
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c423d;
/* rgb */ color: rgb(12, 66, 61);
/* oklch */ color: oklch(34.4% 0.055 185.8);
Tailwind
colors: {
  custom: {
    50: '#557672',
    500: '#0c423d',
    950: '#000000',
  },
}
SCSS
$custom: #0c423d;
$custom-light: #557672;
$custom-dark: #000000;
JSON
{
  "hex": "#0c423d",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 61
  },
  "hsl": {
    "h": 174.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34391,
    "c": 0.05462,
    "h": 185.8
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#0C423D
secondary
#7E2C33
accent
#3C4CEC
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030808
muted
#787B7B

Preview Lab

Preview with #0C423D

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

Preview Lab → · Contrast checker → · Palette generator →

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