#0C4B38#0C4B38

#0C4B38 is a dark, moderate teal. Relative luminance 0.054; OKLCH L 36.9% C 0.069 H 167.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#0C4B38
RGBrgb(12, 75, 56)
HSLhsl(162, 72%, 17%)
HSVhsv(162, 84%, 29%)
CMYKcmyk(84%, 0%, 25.3%, 70.6%)
CIE-LABlab(27.83, -24.49, 5.90)
CIE-LCHlch(27.83, 25.19, 166.46°)
OKLaboklab(36.92% -0.0678 0.0151)
OKLCHoklch(36.92% 0.069 167.5)
XYZxyz(3.3811, 5.3954, 4.6038)
Luminance0.0540 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B38 #4B0C1F
analogous
#0C4B19 #0C4B38 #0C3F4B
triadic
#0C4B38 #380C4B #4B380C
tetradic
#0C4B38 #190C4B #4B0C1F #3F4B0C
square
#0C4B38 #190C4B #4B0C1F #3F4B0C
split-complementary
#0C4B38 #4B0C3F #4B190C
monochromatic
#041A14 #041A14 #0C4B38 #14805F #1DB587

Accessibility & contrast

On white

10.10
#0C4B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#0C4B38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B38
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B38#FFFFFF#000000##FFFFFF
##0C4B381.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494537
Deuteranopia (green-blind)
#413F39
Tritanopia (blue-blind)
#004B46
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4b38;
/* rgb */ color: rgb(12, 75, 56);
/* oklch */ color: oklch(36.9% 0.069 167.5);
Tailwind
colors: {
  custom: {
    50: '#577e6e',
    500: '#0c4b38',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b38;
$custom-light: #577e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b38",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 56
  },
  "hsl": {
    "h": 161.905,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36924,
    "c": 0.06946,
    "h": 167.5
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#0C4B38
secondary
#872C47
accent
#3970EF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4B38

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

Preview Lab → · Contrast checker → · Palette generator →

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