#0C423E#0C423E

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

Color values

HEX#0C423E
RGBrgb(12, 66, 62)
HSLhsl(176, 69%, 15%)
HSVhsv(176, 82%, 26%)
CMYKcmyk(81.8%, 0%, 6.1%, 74.1%)
CIE-LABlab(24.71, -18.00, -2.53)
CIE-LCHlch(24.71, 18.18, 188.01°)
OKLaboklab(34.43% -0.0538 -0.0071)
OKLCHoklch(34.43% 0.054 187.6)
XYZxyz(2.9689, 4.3220, 5.2343)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C423E #420C10
analogous
#0C4223 #0C423E #0C2B42
triadic
#0C423E #3E0C42 #423E0C
tetradic
#0C423E #230C42 #420C10 #2B420C
square
#0C423E #230C42 #420C10 #2B420C
split-complementary
#0C423E #420C2B #42230C
monochromatic
#051A18 #051A18 #0C423E #15766F #1FAA9F

Accessibility & contrast

On white

11.26
#0C423E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C423E
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C423E#FFFFFF#000000##FFFFFF
##0C423E1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c423e;
/* rgb */ color: rgb(12, 66, 62);
/* oklch */ color: oklch(34.4% 0.054 187.6);
Tailwind
colors: {
  custom: {
    50: '#557673',
    500: '#0c423e',
    950: '#000000',
  },
}
SCSS
$custom: #0c423e;
$custom-light: #557673;
$custom-dark: #000000;
JSON
{
  "hex": "#0c423e",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 62
  },
  "hsl": {
    "h": 175.556,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.05426,
    "h": 187.6
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#0C423E
secondary
#7E2C32
accent
#3C49EC
background
#F5F7F6
surface
#E9EDEC
border
#C5C8C7
text
#030808
muted
#787B7B

Preview Lab

Preview with #0C423E

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

Preview Lab → · Contrast checker → · Palette generator →

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