#0C422F#0C422F

#0C422F is a dark, moderate teal. Relative luminance 0.042; OKLCH L 33.9% C 0.065 H 164.7°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#0C422F
RGBrgb(12, 66, 47)
HSLhsl(159, 69%, 15%)
HSVhsv(159, 82%, 26%)
CMYKcmyk(81.8%, 0%, 28.8%, 74.1%)
CIE-LABlab(24.26, -22.62, 6.69)
CIE-LCHlch(24.26, 23.59, 163.53°)
OKLaboklab(33.91% -0.0622 0.0171)
OKLCHoklch(33.91% 0.065 164.7)
XYZxyz(2.6126, 4.1795, 3.3578)
Luminance0.0418 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C422F #420C1F
analogous
#0C4214 #0C422F #0C3A42
triadic
#0C422F #2F0C42 #422F0C
tetradic
#0C422F #140C42 #420C1F #3A420C
square
#0C422F #140C42 #420C1F #3A420C
split-complementary
#0C422F #420C3A #42140C
monochromatic
#051A12 #051A12 #0C422F #157654 #1FAA79

Accessibility & contrast

On white

11.44
#0C422F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#0C422F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C422F
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C422F#FFFFFF#000000##FFFFFF
##0C422F1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413D2E
Deuteranopia (green-blind)
#3A3830
Tritanopia (blue-blind)
#00423D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c422f;
/* rgb */ color: rgb(12, 66, 47);
/* oklch */ color: oklch(33.9% 0.065 164.7);
Tailwind
colors: {
  custom: {
    50: '#547767',
    500: '#0c422f',
    950: '#000000',
  },
}
SCSS
$custom: #0c422f;
$custom-light: #547767;
$custom-dark: #000000;
JSON
{
  "hex": "#0c422f",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 47
  },
  "hsl": {
    "h": 158.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33911,
    "c": 0.06453,
    "h": 164.7
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#0C422F
secondary
#7E2C49
accent
#3C7AEC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C422F

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

Preview Lab → · Contrast checker → · Palette generator →

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