#0C4238#0C4238

#0C4238 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.2% C 0.057 H 177.3°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#0C4238
RGBrgb(12, 66, 56)
HSLhsl(169, 69%, 15%)
HSVhsv(169, 82%, 26%)
CMYKcmyk(81.8%, 0%, 15.2%, 74.1%)
CIE-LABlab(24.51, -19.96, 1.14)
CIE-LCHlch(24.51, 19.99, 176.73°)
OKLaboklab(34.21% -0.0571 0.0027)
OKLCHoklch(34.21% 0.057 177.3)
XYZxyz(2.8133, 4.2598, 4.4146)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4238 #420C16
analogous
#0C421D #0C4238 #0C3142
triadic
#0C4238 #380C42 #42380C
tetradic
#0C4238 #1D0C42 #420C16 #31420C
square
#0C4238 #1D0C42 #420C16 #31420C
split-complementary
#0C4238 #420C31 #421D0C
monochromatic
#051A16 #051A16 #0C4238 #157664 #1FAA90

Accessibility & contrast

On white

11.34
#0C4238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#0C4238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4238
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4238#FFFFFF#000000##FFFFFF
##0C42381.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D38
Deuteranopia (green-blind)
#383839
Tritanopia (blue-blind)
#00433F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4238;
/* rgb */ color: rgb(12, 66, 56);
/* oklch */ color: oklch(34.2% 0.057 177.3);
Tailwind
colors: {
  custom: {
    50: '#55776e',
    500: '#0c4238',
    950: '#000000',
  },
}
SCSS
$custom: #0c4238;
$custom-light: #55776e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4238",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 168.889,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.34205,
    "c": 0.05717,
    "h": 177.3
  },
  "luminance": 0.0426
}

Semantic roles & 50–950 ramp

primary
#0C4238
secondary
#7E2C3B
accent
#3C5CEC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030807
muted
#787B7A

Preview Lab

Preview with #0C4238

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

Preview Lab → · Contrast checker → · Palette generator →

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